Help| Come in ..
#2

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == pd car id)
{
if(whatever defines them as a cop e.g. !IsACop(playerid))
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, w/e color, "This car belongs to the FBI");
}
}
}
return 1;
}
Should work, I wrote it in this box so sorry about the indentation
Reply


Messages In This Thread
Help| Come in .. - by Benlollol1 - 02.02.2009, 12:41
Re: Help| Come in .. - by ICECOLDKILLAK8 - 02.02.2009, 12:48
Re: Help| Come in .. - by Benlollol1 - 02.02.2009, 13:45
Re: Help| Come in .. - by SilentMouse - 02.02.2009, 13:51
Re: Help| Come in .. - by baxi - 06.07.2009, 16:00
Re: Help| Come in .. - by ByFukara - 06.07.2009, 16:19
Re: Help| Come in .. - by baxi - 06.07.2009, 17:03
Re: Help| Come in .. - by -Sneaky- - 06.07.2009, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)