Post: Gsc help pls!!!
09-13-2016, 10:09 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); If you have time and want to help me out, then I would like a code that would allow all players to jump in the air just by touching the x button once, but not let them jump until there on an entity! (Like*"p6_dockside_container_lrg_blue")

If you help me, thank you <3
Last edited by Thomas Gaming ; 09-14-2016 at 04:53 AM.
09-16-2016, 06:51 PM #2
Patrick
League Champion
Originally posted by Thomas
If you have time and want to help me out, then I would like a code that would allow all players to jump in the air just by touching the x button once, but not let them jump until there on an entity! (Like*"p6_dockside_container_lrg_blue")

If you help me, thank you <3


    Jump()
{
self endon("disconnect");
level endon("game_ended");

while(isAlive(self))
{
while(self isOnGround())
{
if(self jumpButtonPressed())
{
self setVelocity(self getVelocity() + (0, 0, 999));
wait .05;
}
wait .05;
}
wait .05;
}
}

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo