15.03.2015, 14:33
Try this:
PHP код:
timer CARCheck[5000](playerid)
{
if(GetPlayerState(playerid) != 2) NOPTrigger[playerid] = 0;
new newcar = GetPlayerVehicleID(playerid);
if(PlayerInfo[playerid][pAdmin] > 1 || GetPlayerState(playerid) != 2) return 1;
if(IsAnSASDCar(newcar) && PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) ExecuteNOPAction(playerid);
return 1;
}