Results 1 to 10 of 11

Thread: Press F didn't work

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private First Class Earliboy's Avatar
    Join Date
    Nov 2012
    Location
    Germany
    Posts
    130
    Thanks
    5
    Thanked 88 Times in 61 Posts
    PHP Code:
    self endon("disconnect");

    while( 
    self useButtonPressed() ) //If he is pressing the use button allready, so he don't activates it random
         
    wait .1;

    self iprintlnBold("Press F to call Heli");

    while( !
    self useButtonPressed() )
         
    wait .1;

    if(!
    isAlive(self)) //if he needs to be alive to get a heli/care package
         
    return;
    //functions

    Also, NEVER use
    for(;
    self iprintlnBold("BLA");

    without an wait! The server won't start cause of infinity loop
    No ... No ... this is not possible .......

  2. The Following User Says Thank You to Earliboy For This Useful Post:

    Loveboy (1st July 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •