skin problem
#1

ok in my server its supposed to do things for only specific skins, but does it for all skins anyway. Whats wrong?

Код:
if (GetPlayerSkin(playerid) == 287 || 163 || 282 || 255 || 165)
{
SendClientMessage(playerid,COLOR_BLUE,"[!] As a COP, your job is to take out criminals.");
}
it also does it here:
Код:
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);
	}
}
Reply


Messages In This Thread
skin problem - by CJ101 - 05.03.2009, 06:38
Re: skin problem - by Outbreak - 05.03.2009, 09:09

Forum Jump:


Users browsing this thread: 2 Guest(s)