Watch
-
Add Favorite
Player commands
/setboost 0-5
In the script you will see, near the top:
boost_option = [1, 2, 4, 8, 16]
The numbers are the power of the boosts. IE. /setboost 3 would give the player a boost of 4. The player can use /setboost 0 to disable it for themselves completely.
There must always be 5 numbers here and the format must not be edited (unless you know what you're doing).
The values can be the same if you don't want multiple powers. IE.
boost_option = [5, 5, 5, 5, 5]
Admin commands
First to make yourself or others admin you must add it to the script, near the top you will see:
cheap_adminlist = [
"STEAM_X:X:XXXXXXX", # STEAM_ID
"127.0.0.1", # IP
]
You can add SteamIDs or IPs here, make sure the format is not changed and keep it consistant, use "127.0.0.1" if you are using a listen server for admin.
/boosthop 0-1
This will disable the script from being used, but still keep it loaded.
0 Disables and 1 Enables.
You need to be in the admin list for this to work.
To load or unload the script type (in server console):
es_load boosthop
es_unload boosthop
To load it automatically, add es_load boosthop to your server configs (make sure it's AFTER any eventscripts cofigurations).
Players data is saved only temporarily (it might change after each map/restart). I might save the data on each change. There might even be a bug when changing maps, I didn't get to test if the userid would be assigned to a different player, who would inherit the config.. I will change this if find out this is happening.
( Previous Versions )
Description
This addon allows players use a command which lets them set their "boosthop" power, which is just a push at each jump. The admins can set the power of the boosts within the script, and also use a command to enable or disable it (alternatively they can also use es_unload to unload it completely)..Player commands
/setboost 0-5
In the script you will see, near the top:
boost_option = [1, 2, 4, 8, 16]
The numbers are the power of the boosts. IE. /setboost 3 would give the player a boost of 4. The player can use /setboost 0 to disable it for themselves completely.
There must always be 5 numbers here and the format must not be edited (unless you know what you're doing).
The values can be the same if you don't want multiple powers. IE.
boost_option = [5, 5, 5, 5, 5]
Admin commands
First to make yourself or others admin you must add it to the script, near the top you will see:
cheap_adminlist = [
"STEAM_X:X:XXXXXXX", # STEAM_ID
"127.0.0.1", # IP
]
You can add SteamIDs or IPs here, make sure the format is not changed and keep it consistant, use "127.0.0.1" if you are using a listen server for admin.
/boosthop 0-1
This will disable the script from being used, but still keep it loaded.
0 Disables and 1 Enables.
You need to be in the admin list for this to work.
Installation
The script (boosthop.py) should be placed in cstrike/addons/eventscripts/boosthop/boosthop.pyTo load or unload the script type (in server console):
es_load boosthop
es_unload boosthop
To load it automatically, add es_load boosthop to your server configs (make sure it's AFTER any eventscripts cofigurations).
Version Notes For 0.1 (Announce this update)
Updated on: 2009-03-08 14:32:03 EST by zoomjPlayers data is saved only temporarily (it might change after each map/restart). I might save the data on each change. There might even be a bug when changing maps, I didn't get to test if the userid would be assigned to a different player, who would inherit the config.. I will change this if find out this is happening.
( Previous Versions )
Find Servers
Servers running this addon.
Addon Details
Upload Addon