Why doesnt this work?
#4

Both
Код:
if(strcmp(cmdtext,"/fix",true) == 0)
    {
        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;
    }
and

Код:
if(!strcmp("/repair", cmdtext, true))
    {
        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;
    }
Do not work. The engine damage gets fixed, but the damage such as broken doors or bumpers doesnt..
Reply


Messages In This Thread
Why doesnt this work? - by Gemini - 04.04.2011, 14:43
Re: Why doesnt this work? - by Gray - 04.04.2011, 14:51
Re: Why doesnt this work? - by bijoyekuza - 04.04.2011, 14:53
Re: Why doesnt this work? - by Gemini - 04.04.2011, 15:11
Re: Why doesnt this work? - by Gemini - 04.04.2011, 16:43
Re: Why doesnt this work? - by Sascha - 04.04.2011, 17:15

Forum Jump:


Users browsing this thread: 1 Guest(s)