#2

pawn Код:
CMD:dveh(playerid)
{
      if(PlayerInfo[playerid][Padmin] < 2) return SendClientMessage(playerid, -1, "Your not high enough level to do that");
      if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "You need to be in a car to use this command");
      new currentveh;
      currentveh = GetPlayerVehicleID(playerid);
      DestroyVehicle(currentveh);
      return 1;
}
Try this.
Reply


Messages In This Thread
CMD - by thefatshizms - 06.07.2012, 18:02
Re: CMD - by .FuneraL. - 06.07.2012, 18:05
Re: CMD - by thefatshizms - 06.07.2012, 18:10
Re: CMD - by Steven82 - 06.07.2012, 18:36
Re: CMD - by thefatshizms - 06.07.2012, 18:43

Forum Jump:


Users browsing this thread: 1 Guest(s)