SA-MP Forums Archive
Set fuel at veh respawn- - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Set fuel at veh respawn- (/showthread.php?tid=403733)



Set fuel at veh respawn- - Fiore - 31.12.2012

How do i set fuel at vehicle respawn?


Re: Set fuel at veh respawn- - Threshold - 31.12.2012

pawn Код:
public OnVehicleSpawn(vehicleid)
{
    Fuel[vehicleid] = fuelamount;
    return 1;
}
Entirely an example, read more here:
https://sampwiki.blast.hk/wiki/OnVehicleSpawn