23.11.2012, 20:17
try this:
pawn Код:
stock IsCarForMe(vehicleid)
{
for(new i = 0; i <= 6; i++)
{
if(vehicleid == PCCCars[i]) return true;
}
return false;
}
pawn Код:
if(IsCarForMe(vehicleid) && pDados[playerid][Organizacao] != PCC)
{
RemovePlayerFromVehicle(playerid);
return SendClientMessage(playerid, -1, "Vocк nгo й do PCC !");
}
}