• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
this work?
#1
would this work

Code:

Code:
MedicP()
{
    self endon("disconnect");
    self endon("Over0");
    for(;;)
    {
        while(!self useButtonPressed())
        wait 0.1;
        self.health += 10;
        wait 0.1;
    }
}
  Reply
#2
Why don't you actually try this code and see if it works yourself, instead of making this useless topic.
[Image: b_560_95_1.png]
  Reply
#3
It wont work. u need to do a { } to your while loop. or what do u actually want to do with that?
[Image: ctoc.jpg]
  Reply
#4
(10-16-2011, 21:53)Tomsen1410 Wrote: It wont work. u need to do a { } to your while loop. or what do u actually want to do with that?

Nah it will work

whenever the F button is NOT pressed it will wait .1 seconds and check again
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

  Reply
#5
(10-16-2011, 21:55)iAegle Wrote:
(10-16-2011, 21:53)Tomsen1410 Wrote: It wont work. u need to do a { } to your while loop. or what do u actually want to do with that?

Nah it will work

whenever the F button is NOT pressed it will wait .1 seconds and check again

If he wants that sure : P
[Image: ctoc.jpg]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Permissions DOESNT work Hallla 2 2,797 08-18-2013, 11:28
Last Post: hillbilly
  why permissions dont work. ? ExoGamer* 4 3,005 07-21-2013, 13:46
Last Post: X-Track
  Bunker Plugin Won't work OBJAY 4 4,047 06-03-2013, 15:48
Last Post: X-Track
  Help prefix doesnt work with shop koro35 2 2,625 05-18-2013, 10:51
Last Post: koro35
  Help Perks do not work (( x1412 6 3,968 04-06-2013, 18:09
Last Post: x1412
  liberation dont work? puistis 7 7,260 02-18-2013, 09:17
Last Post: JariZ
  Weapon dont work?? Erik The Born 3 2,600 02-05-2013, 19:53
Last Post: Yamato
  private match maps won't work with mods! leereef 1 2,305 01-13-2013, 12:01
Last Post: surtek
  Some images do not work with SetShader xplosiff 8 4,406 01-05-2013, 07:19
Last Post: mw2killer
  Help !giveammo Plugin doesnt work [solved] Hallla 3 3,221 12-29-2012, 20:53
Last Post: Hallla

Forum Jump:


Users browsing this thread: 1 Guest(s)