Error 009
#5

Quote:
Originally Posted by `'DokerJr'`
why you added [pInfo]?
Код:
public IsACop(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	  new leader = PlayerInfo[playerid][pLeader];
	  new member = PlayerInfo[playerid][pMember];
	  if(member==1 || member==2)
		{
		  return 1;
		}
		else if(leader==1 || leader==2)
		{
 		 return 1;
		}
	}
	return 0;
}
Reply


Messages In This Thread
Error 009 - by Ritchie999 - 14.10.2009, 13:13
Re: Error 009 - by DokerJr - 14.10.2009, 13:14
Re: Error 009 - by Ritchie999 - 14.10.2009, 13:17
Re: Error 009 - by DokerJr - 14.10.2009, 13:20
Re: Error 009 - by Ritchie999 - 14.10.2009, 13:26
Re: Error 009 - by BMUK - 14.10.2009, 13:30
Re: Error 009 - by Ritchie999 - 14.10.2009, 13:31
Re: Error 009 - by Extremo - 14.10.2009, 16:23
Re: Error 009 - by Ritchie999 - 14.10.2009, 16:50
Re: Error 009 - by Extremo - 14.10.2009, 17:01

Forum Jump:


Users browsing this thread: 6 Guest(s)