[HELP] DeleteCar Command
#1

I' m trying to make a DeleteCar command but it doesn't work.... can some one
post me the commands codes please!
Reply
#2

Here, i use this in my server it works great!

pawn Код:
if(strcmp(cmdtext, "/delcar", true, 5) == 0) {
      if(PlayerData[playerid][AdminLevel] >= 3)
        if(IsPlayerInAnyVehicle(playerid))
            {
            DestroyVehicle(GetPlayerVehicleID(playerid));
        }
            else
        {
            SendClientMessage(playerid,COLOR_RED,"[Server] Must Be In A Car!");
        }
            return 1;
    }
Reply
#3

Working great! thank you!
Reply
#4

No Problem! Good Luck!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)