• Doing something by STEAMID, not working
    1 replies, posted
[code]if(ValidEntity(ACTIVATOR) && ACTIVATOR:SteamID('STEAM_0:0:39141820')) then ACTIVATOR:SetModel('models/infoplayer.mdl'); end[/code] Basically trying to get this to work, but it doesn't. Do I need to get rid of the quotations around the ID?
[lua] if(ValidEntity(ACTIVATOR) && ACTIVATOR:SteamID() == 'STEAM_0:0:39141820') then [/lua] [b][url=http://wiki.garrysmod.com/?title=Player.SteamID]Player.SteamID [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] returns a string.
Sorry, you need to Log In to post a reply to this thread.