24.02.2009, 02:58
ok im trying to prevent people from getting in cars unless there a cop,army,or fbi skin.
but, it just lets them in anyway.
but, it just lets them in anyway.
Код:
if(GetVehicleModel(vehicleid) == 597) { if(GetPlayerSkin(playerid) == 285 || 165 || 287 || 283 || 163) { // You are a cop, no action needed. } else { SendClientMessage(playerid, COLOR_YELLOW, "== You are not law enforcement!"); RemovePlayerFromVehicle(playerid); } }