Repair car
#5

Quote:
Originally Posted by Weirdosport
pawn Код:
if (!strcmp("/fix",cmdtext,true))
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        SetVehicleHealth(GetPlayerVehicleID(playerid),1000.0);
        SendClientMessage(playerid,TEAM_slytherin_COLOR, "Car is repaired.");
    }
    return 1;
}

That's more along the lines of what you were doing.
Ahh, Thanks... I see... :P
Reply


Messages In This Thread
Repair car - by Goobiiify - 18.08.2009, 13:51
Re: Repair car - by JaTochNietDan - 18.08.2009, 13:54
Re: Repair car - by Goobiiify - 18.08.2009, 13:59
Re: Repair car - by Weirdosport - 18.08.2009, 14:01
Re: Repair car - by Goobiiify - 18.08.2009, 14:06

Forum Jump:


Users browsing this thread: 4 Guest(s)