need repair command!
#1

hey guys can someone make a /repaircar command for me? i have a command /repair in my gm now but that one is only for admins and i cant find it in my gm so can someone make a command for me that repairs a vehicle i use this sort of cmds in my server:

if (strcmp(cmdtext, "/lvisland", true) == 0)
{
SetPlayerPos(playerid, 2717.4958,629.5791,10.8233);
GameTextForPlayer(playerid,"las venturas island",4000,6);
return 1;
}


so pls dont make any cmds which begins with:
cmd:...............
can anyone pls make a cmd for me?
i would really appreciate that and if u want to see my server the IP is: 217.18.70.146:7777

niels
Reply
#2

pawn Код:
if (!strcmp("/repair", cmdtext))
    {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle!");
        RepairVehicle(GetPlayerVehicleID(playerid));
        SendClientMessage(playerid, 0xFFFFFFFF, "Your vehicle has been successfully repaired!");
        return 1;
    }
Reply
#3

thnx bro i added it in my server and gave u some rep points
Reply
#4

btw could u give me some rep points too so i can advertise for my server? i need 2 rep points for that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)