09.11.2012, 16:44
Hey guys. Got a question. Im declared a global variable restrict which allows me to set other people admins. I want to set restric to 0 when player successfully connects as admin, but I can't seem to find out how to get the playerid of the player. Thanks in advance 
gives me an error about the playerid.

Код:
public OnRconLoginAttempt(ip[], password[], success)
{
if(success)
{
restrict(playerid)=0;
return 1;
}
return 1;
}

