ItsMods
Help IsOnGround - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Help IsOnGround (/Thread-Help-IsOnGround.html)



IsOnGround - Scripts18 - 07-28-2011

Ok since nobody can help me with my other problem, I will go for an easier problem

Code:
Test() { while(1) { if(self JumpButtonPressed()) { self waittill(self IsOnGround() == true); XXXXXXX } wait 0.01; } }

XXXXX is a function that I want to keep secret Wink

The problem is the xxx function gets started before that the player touchs the ground, how do I fix?


RE: IsOnGround - iBanana - 07-28-2011

(07-28-2011, 20:03)Scripts18 Wrote: Ok since nobody can help me with my other problem, I will go for an easier problem

Code:
Test() { while(1) { if(self JumpButtonPressed()) { self waittill(self IsOnGround() == true); XXXXXXX } wait 0.01; } }

XXXXX is a function that I want to keep secret Wink

The problem is the xxx function gets started before that the player touchs the ground, how do I fix?
I would help you. But since you deleted me from steam i cant :/



RE: IsOnGround - JariZ - 07-28-2011

Code:
Test() { while(1) { if(self JumpButtonPressed()) { while(self IsOnGround() != true) { } //keep looping when its not true XXXXXXX } wait 0.01; } }






megusta


RE: IsOnGround - Scripts18 - 07-28-2011

Quote:I would help you. But since you deleted me from steam i cant :/

Never had you in my friend list? Oh youre the guy that wanted my weapons ? lol...




RE: IsOnGround - iBanana - 07-28-2011

(07-28-2011, 20:08)Scripts18 Wrote:
Quote:I would help you. But since you deleted me from steam i cant :/

Never had you in my friend list? Oh youre the guy that wanted my weapons ? lol...

NO? who would even like your weapons? /no offence


RE: IsOnGround - Scripts18 - 07-28-2011

Cause you cant make your own Troll
tell that to the guy that wants to host my mod


RE: IsOnGround - AZUMIKKEL - 07-28-2011

(07-28-2011, 20:06)jariz Wrote:
Code:
Test() { while(1) { if(self JumpButtonPressed()) { while(self IsOnGround() != true) { wait 0.05; } //nigga what. XXXXXXX } wait 0.01; } }






megusta




RE: IsOnGround - Scripts18 - 07-28-2011

Why quote his stuff?

EDIT: Nvm thx