car prevention help
#1

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.

Код:
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);
}

}
Reply


Messages In This Thread
car prevention help - by CJ101 - 24.02.2009, 02:58
Re: car prevention help - by ICECOLDKILLAK8 - 24.02.2009, 03:01
Re: car prevention help - by CJ101 - 24.02.2009, 03:02
Re: car prevention help - by ICECOLDKILLAK8 - 24.02.2009, 03:11

Forum Jump:


Users browsing this thread: 2 Guest(s)