Will this work
#3

do like this
Код:
if(strcmp("/opcar", cmdtext, true) == 0)
{
    new vehicleid = GetPlayerVehicleID(playerid);
    SetVehicleHealth(vehicleid, 1000);
    SendClientMessage(playerid, COLOUR_WHITE, "The vehicles engine has been fully repaired.");
    return 1;
}
and you cant set500000 becuse full health is 1000 see this WIKI SetVehicleHealth
Reply


Messages In This Thread
Will this work - by kingcrome - 13.12.2013, 19:35
Re: Will this work - by SilentSoul - 13.12.2013, 19:39
Re: Will this work - by MORJAN1122 - 13.12.2013, 19:40
Re: Will this work - by Vince - 13.12.2013, 19:41
Re: Will this work - by tuitalker - 13.12.2013, 19:42
Re: Will this work - by xVIP3Rx - 13.12.2013, 19:42
Re: Will this work - by kingcrome - 13.12.2013, 19:43
Re: Will this work - by SilentSoul - 13.12.2013, 19:44
Respuesta: Re: Will this work - by Gryphus One - 13.12.2013, 19:47
Re: Will this work - by Hansrutger - 13.12.2013, 19:49

Forum Jump:


Users browsing this thread: 6 Guest(s)