IsACop
#5

I thought that if i put the same variable as the gamemode,it would be the same.It seems i was wrong.Anyway,i don`t really know what and where to put.Thank you for your time and patience with me.

That`s the function in gamemode:
Код:
forward IsACop(playerid);
public IsACop(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	    new leader = PlayerInfo[playerid][pLeader];
	    new member = PlayerInfo[playerid][pMember];
	    if(member==1 || member==2 || member==3)
		{
		    return 1;
		}
		else if(leader==1 || leader==2 || leader==3)
		{
		    return 1;
		}
	}
	return 0;
}
Reply


Messages In This Thread
IsACop - by George0305 - 14.02.2014, 09:50
Re: IsACop - by Avi Raj - 14.02.2014, 09:53
Re: IsACop - by Konstantinos - 14.02.2014, 09:53
Re: IsACop - by CuervO - 14.02.2014, 09:55
Re: IsACop - by George0305 - 14.02.2014, 09:59
Re: IsACop - by Konstantinos - 14.02.2014, 10:44
Re: IsACop - by George0305 - 14.02.2014, 10:51

Forum Jump:


Users browsing this thread: 1 Guest(s)