AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Bunnyjump help (https://forums.alliedmods.net/showthread.php?t=24955)

Dennis70 03-05-2006 08:58

Bunnyjump help
 
Hi I coded today bunnyjump thing but it only works one time. ( i made it in a menu and when i press 1 for bunnyjump it jumps autocmatic for one time) but i want that i can always jump with it on the normal jump bottom ( at my pc's it v )

Code:

                new Float:velocity[3]       
                entity_get_vector(id,EV_VEC_velocity,velocity)
                velocity[2] = random_float(265.0,285.0)
                entity_set_vector(id,EV_VEC_velocity,velocity)



All times are GMT -4. The time now is 20:17.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.