Thread: Please fix code
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-11-2012 , 13:05   Re: Please fix code
Reply With Quote #3

All users have a proper SteamID on a Steam server. If they don't then you won't get any support here.

Quote:
Originally Posted by echo_cs View Post
Not Correct:
PHP Code:
 if(!is_user_steam(id)) 
        { 
                return 
PLUGIN_HANDLED
        } 
This is The Correct:
PHP Code:
new SteamID[50]
new 
Steam get_user_authid(idSteamID49)

if(
Steam == STEAM_ID_LAN)
    return 
PLUGIN_CONTINUE 
That is even worse than what he had.
__________________
fysiks is offline