Updated velocity function
#1

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).
Reply


Messages In This Thread
Updated velocity function - by Donny_k - 04.09.2009, 17:35
Re: [REL] keypress velocity for vehicles. - by V1ceC1ty - 04.09.2009, 17:37
Re: [REL] keypress velocity for vehicles. - by [mad]MLK - 04.09.2009, 17:42
Re: [REL] keypress velocity for vehicles. - by Donny_k - 04.09.2009, 17:57
Updated velocity function - by Donny_k - 07.09.2009, 09:37

Forum Jump:


Users browsing this thread: 1 Guest(s)