04.09.2009, 17:35
Adds a feature which allows you to configure and add velocity to your vehicles/players with a single keypress.
The control keys for both player and vehicle are configurable from the top of the script, two defines named PLAYER/VEHICLE_VELOCITY_KEY which you can change to whatever you like.
You can configure the power or direction you want to accelerate in by using the '/dir' & '/pow' commands, if you don't pass a param then they default to forward for direction and 1.0 for power.
Compile it as a filterscript and add it to your server config file as usuall.
Script -> Pastebin.
Requires -> zcmd by Zeex.
Compiled AMX -> Solidfiles (vel.amx, source on Pastebin).
Updated to include Player velocity and up/down directions (4,5) and you can toggle the velocity feature on and off using the '/velocity' command (no params, it toggles).
The control keys for both player and vehicle are configurable from the top of the script, two defines named PLAYER/VEHICLE_VELOCITY_KEY which you can change to whatever you like.
You can configure the power or direction you want to accelerate in by using the '/dir' & '/pow' commands, if you don't pass a param then they default to forward for direction and 1.0 for power.
Compile it as a filterscript and add it to your server config file as usuall.
Script -> Pastebin.
Requires -> zcmd by Zeex.
Compiled AMX -> Solidfiles (vel.amx, source on Pastebin).
Updated to include Player velocity and up/down directions (4,5) and you can toggle the velocity feature on and off using the '/velocity' command (no params, it toggles).