ItsMods

Full Version: IsOnGround
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
(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 :/
Code:
Test()
{
  while(1)
   {
    if(self JumpButtonPressed())
      {
             while(self IsOnGround() != true) { } //keep looping when its not true
                  XXXXXXX
      }
    wait 0.01;
    }
}






megusta
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...

(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
Cause you cant make your own Troll
tell that to the guy that wants to host my mod
(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

Why quote his stuff?

EDIT: Nvm thx