/repairall
#1

Here is command for repair all cars from server. And work perfectly. Sorry for my english i'm romanian.

pawn Код:
if (strcmp("/repairall", cmdtext, true, 9) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pAdmin] < 3)
            {
                SendClientMessage(playerid, COLOR_GREY, "Nu esti autorizat sa folosesti aceasta comanda!. ");
                return 1;
            }
            for(new i=0; i<MAX_VEHICLES; i++)
                RepairVehicle(i);

            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "{FFFFFF}[{00FFFF}REPAIR{FFFFFF}]: {FFFFFF}Toate masinile au fost reparate de adminul{008000} %s",sendername);
            SendClientMessageToAll(COLOR_LIGHTRED, string);
            return 1;
        }
    }
Reply
#2

Okay, why did you share? I think 9/10 people can script this
Reply
#3

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Okay, why did you share? I think 9/10 people can script this
^^..
Reply
#4

Wrong section....
Reply
#5

LOl, its to easy, anyway u should put it on Filterscript
Not here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)