31
Add-Ons / Gas Mod [V1.3]
« on: November 07, 2010, 07:23:21 PM »
Gas Mod
Description
Vehicles now have limited fuel! If you run out, you no longer have control over your vehicle!
Installation and Use
Download and place Server_GasMod.zip into your Add-ons Folder.
While starting a server, enable Server_GasMod.
To add fuel, Use the events "addGas" and "setGas".
While creating your own vehicle, if you want a custom amount of fuel use the following:
Download
Server_GasMod.zip
Change-log
V1.0 to V1.1
V1.1 to 1.2
V1.2 to V1.3
Description
Vehicles now have limited fuel! If you run out, you no longer have control over your vehicle!
Installation and Use
Download and place Server_GasMod.zip into your Add-ons Folder.
While starting a server, enable Server_GasMod.
To add fuel, Use the events "addGas" and "setGas".
While creating your own vehicle, if you want a custom amount of fuel use the following:
Code: [Select]
VGM_Gas = CustomAmountHere;
Download
Server_GasMod.zip
Change-log
V1.0 to V1.1
Code: [Select]
-Added RTB Pref for Default Amount
-Added RTB Pref for toggling
-Fixed vehicle events. (eg. onVehicleEnterZone > Vehicle > addGas [1000] now works)
V1.1 to 1.2
Code: [Select]
-Now has a VCE Variable for gas. <var:vehicle:gas>
V1.2 to V1.3
Code: [Select]
-Fixed AIPlayers having gas