How make admins Vehicle
#1

How I Can Make admin vehicle
Reply
#2

gTeam ?
Reply
#3

what gTeam you mean? That#define TEAM_RAPIST 16
my admin level is 1337
Reply
#4

Rapist?
LolOlOlOloooLloOlOl.
Reply
#5

pawn Код:
if(newstate == PLAYER_STATE_DRIVER) // Means player has got into the drivers seat
{
  if(GetPlayerVehicleID(playerid) == *PUT ID HERE*) // Put the ID (not model) of your admin car here
  {
    if(AdminLevel[playerid] != 1337) //This means if the players admin level is NOT 1337. ie: not admin
    {
      RemovePlayerFromVehicle(playerid); // 0_0
      SendClientMessage(playerid,COLOR_LUL,"Admins Only!"); :D
    }
  }
}
Put that in the OnPlayerStateChange callback
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)