how to filter some checkpoints
#1

hey , how i can put a filter if player a cop and if he in checkpoint so its ok with that
Код:
dcmd_rob(playerid,params[])
{
	if(gTeam[playerid] == TEAM_COP)
	{
	    if (CheckpointID(playerid) == checkpoint1) return 0;// ?// i want allow this to team cop how do i ?
 		 SendClientMessage(playerid,COLOR_RED,"Only Citizen Can Do it.");
		}
		return 1;

	}
//and under this command and if statement a lots of code i for forgot to put to each checkpoint that if statement
Reply
#2

show me the check point
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)