Global vehicles health problem
#1

Hello,i've this code to set at 980.0 the vehicles hp (all vehicles):

pawn Код:
forward SetVehicleHealthEx(vehicleid,Float:vHealth);

public SetVehicleHealthEx(vehicleid,Float:vHealth)
    return SetVehicleHealth(vehicleid,vHealth);

public OnVehicleSpawn(vehicleid)
{
    SetTimerEx("SetVehicleHealthEx",500,false,"df",vehicleid,980.0);
    return 1;
}
But it doesn't work, the vehicles hp are at 1000 instead of 980.
Reply


Messages In This Thread
Global vehicles health problem - by Face9000 - 14.10.2012, 16:49
Re: Global vehicles health problem - by Jensen - 14.10.2012, 16:55
Re: Global vehicles health problem - by Calabresi - 14.10.2012, 17:04
Re: Global vehicles health problem - by Niko_boy - 14.10.2012, 17:09
Re: Global vehicles health problem - by Calabresi - 14.10.2012, 17:10
Re: Global vehicles health problem - by Face9000 - 14.10.2012, 18:01

Forum Jump:


Users browsing this thread: 1 Guest(s)