Admins veichles
#6

Top of script

Код:
new AdminCar;
OnGameModeInit

Код:
AdminCar = Addstaticvehicle....
OnPlayerStateChange

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
  if(GetPlayerVehicleID(playerid) == AdminCar)
  {
    if(!IsPlayerAdmin(playerid))
    {
      RemovePlayerFromVehicle(playerid);
    }
  }
}
Reply


Messages In This Thread
Admins veichles - by Angelo94 - 16.10.2009, 17:13
Re: Admins veichles - by MenaceX^ - 16.10.2009, 17:18
Re: Admins veichles - by [XST]O_x - 16.10.2009, 17:21
Re: Admins veichles - by Angelo94 - 16.10.2009, 17:24
Re: Admins veichles - by [XST]O_x - 16.10.2009, 17:25
Re: Admins veichles - by BMUK - 16.10.2009, 17:27
Re: Admins veichles - by Angelo94 - 16.10.2009, 17:31
Re: Admins veichles - by MenaceX^ - 16.10.2009, 17:43
Re: Admins veichles - by BMUK - 16.10.2009, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)