02.04.2015, 15:26
(
Последний раз редактировалось PSYCHOBABYKILLA; 02.04.2015 в 17:37.
)
LAST EDIT: i got it to work with
public OnVehicleStreamIn(vehicleid, forplayerid)
{
SetVehicleHealth(modelid, 5000);
return 1;
}
but i had to run it on a filterscript otherwise it wouldnt work it would compile i tried everything and i tried onvehiclestreamin already but it was my gamemode variables i guess
EDIT: lol just when i thought i got it all figured out walk in and out of a checkpoint and vehicle health is back up to 5000
public OnVehicleStreamIn(vehicleid, forplayerid)
{
SetVehicleHealth(modelid, 5000);
return 1;
}
but i had to run it on a filterscript otherwise it wouldnt work it would compile i tried everything and i tried onvehiclestreamin already but it was my gamemode variables i guess
EDIT: lol just when i thought i got it all figured out walk in and out of a checkpoint and vehicle health is back up to 5000