/fixveh help
#7

Use this:

pawn Код:
if(!strcmp("/repair", cmdtext))
    {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "You are not in a vehicle!");
        RepairVehicle(GetPlayerVehicleID(playerid));
        SendClientMessage(playerid, COLOR_GREEN, "You have repaired your vehicle!");
        return 1;
    }
Much easier.
Reply


Messages In This Thread
/fixveh help - by darkvsoul36 - 12.05.2012, 20:46
Re: /fixveh help - by SnG.Scot_MisCuDI - 12.05.2012, 20:51
Re: /fixveh help - by Mimic - 12.05.2012, 20:52
Re: /fixveh help - by AndreT - 12.05.2012, 20:56
Re: /fixveh help - by darkvsoul36 - 12.05.2012, 20:56
Re: /fixveh help - by sniperwars - 12.05.2012, 21:00
Re: /fixveh help - by RedWingz - 12.05.2012, 21:13
Re: /fixveh help - by darkvsoul36 - 14.05.2012, 17:55
Re: /fixveh help - by Faisal_khan - 14.05.2012, 18:01
Re: /fixveh help - by darkvsoul36 - 14.05.2012, 18:08

Forum Jump:


Users browsing this thread: 4 Guest(s)