GetPlayerID help
#1

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

Код:
public OnRconLoginAttempt(ip[], password[], success)
{
	if(success)
	{
		  restrict(playerid)=0;
		  return 1;
    }
	return 1;
}
gives me an error about the playerid.
Reply


Messages In This Thread
GetPlayerID help - by Sam5513 - 09.11.2012, 16:44
Re: GetPlayerID help - by Kyle - 09.11.2012, 17:00
Re: GetPlayerID help - by tyler12 - 09.11.2012, 17:05
Re: GetPlayerID help - by Konstantinos - 09.11.2012, 17:11
Re: GetPlayerID help - by Sam5513 - 09.11.2012, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)