17.04.2013, 14:26
hey , how i can put a filter if player a cop and if he in checkpoint so its ok with that
//and under this command and if statement a lots of code i for forgot to put to each checkpoint that if statement
Код:
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;
}

