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)