[DUV]RepairVehicle
#3

Tenta usar isso:

pawn Код:
if(strcmp(cmd, "/consertar", true) == 0) {
                        if(IsPlayerInAnyVehicle(playerid)){
                new veiculo;
                veiculo = GetPlayerVehicleID(playerid);
                RepairVehicle(GetPlayerVehicleID(playerid));
                SetVehicleHealth(veiculo,1000);
                SendClientMessage(playerid,COLOR_GRAY,"[INFO] Carro consertado.");
                return 1;
            }
        }
Reply


Messages In This Thread
[DUV]RepairVehicle - by BiieL - 06.07.2010, 21:26
Re: [DUV]RepairVehicle - by TheGarfield - 06.07.2010, 21:28
Re: [DUV]RepairVehicle - by [NWD]Tweener_ - 06.07.2010, 21:30
Re: [DUV]RepairVehicle - by TheGarfield - 06.07.2010, 21:42
Re: [DUV]RepairVehicle - by BiieL - 06.07.2010, 21:44
Re: [DUV]RepairVehicle - by [NWD]Tweener_ - 06.07.2010, 21:48
Re: [DUV]RepairVehicle - by TheGarfield - 06.07.2010, 21:54
Re: [DUV]RepairVehicle - by [NWD]Tweener_ - 06.07.2010, 22:28
Re: [DUV]RepairVehicle - by BiieL - 06.07.2010, 22:30

Forum Jump:


Users browsing this thread: 1 Guest(s)