how add admin car
#2

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
	{
	new vehmodel = GetVehicleModel(GetPlayerVehicleID(playerid));
	if(vmodel == MODEL && !IsPlayerAdmin(playerid)) // change MODEL to the modelid
	  {
	  DestroyVehicle(GetPlayerVehicleID(playerid));
	  }
	}

}
Reply


Messages In This Thread
how add admin car - by BLACK-RIDER-1692 - 03.07.2009, 20:01
Re: how add admin car - by CJ101 - 03.07.2009, 20:10
Re: how add admin car - by BLACK-RIDER-1692 - 03.07.2009, 20:31
Re: how add admin car - by iLinx - 03.07.2009, 20:33
Re: how add admin car - by refshal - 03.07.2009, 20:36
Re: how add admin car - by BLACK-RIDER-1692 - 03.07.2009, 21:04
Re: how add admin car - by BLACK-RIDER-1692 - 04.07.2009, 09:55
Re: how add admin car - by refshal - 04.07.2009, 09:58

Forum Jump:


Users browsing this thread: 2 Guest(s)