05.03.2009, 06:38
ok in my server its supposed to do things for only specific skins, but does it for all skins anyway. Whats wrong?
it also does it here:
Код:
if (GetPlayerSkin(playerid) == 287 || 163 || 282 || 255 || 165) { SendClientMessage(playerid,COLOR_BLUE,"[!] As a COP, your job is to take out criminals."); }
Код:
new vehid; vehid = GetVehicleModel(vehicleid); if(vehid == 597) { if (GetPlayerSkin(playerid) == 287 || 163 || 282 || 255 || 165) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "== You can use this vehicle to do your job."); } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "== You are not a cop."); RemovePlayerFromVehicle(playerid); } }