Quote:
Originally Posted by Natsheh
0 is the server id/worldspawn. And 1 is the first playerslot id.
Did you paid an attention at my previous post?
|
PHP Code:
static Players[32], iNum, SteamID[10]
get_players(Players, iNum)
for (new i = 0; i < iNum; ++i)
{
//get_user_name(id, name, charsmax(name))
get_user_authid(id, SteamID, charsmax(SteamID)
if(equal(SteamID, sp_player))
{
set_user_info(id, "_sp", "656")
break
}
}
public client_putinserver(id)
{
new info[5]
get_user_info(id, "_sp", info, charsmax(info))
if(str_to_num(info) == 656)
g_special[id] = true
}
__________________