Quote:
Originally Posted by WeeZick
But i wonder what should i do to add more steamid's. Should i go like this?
public somefunction(id)
{
new szSteamID[32];
get_user_authid(id, szSteamID, charsmax(szSteamID);
if (szSteamID == "SteamID1 Here")
if (szSteamID == "SteamID2 Here")
{
// do stuff here
}
}
|
Quote:
Originally Posted by Sylwester
You add them in users.ini
|
Also, you're doing it wrong.
If you insist on using SteamID then for checking multiple it's better to use a switch statement rather than if statements.
__________________