Thread Rating:
  • 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 3,050 08-18-2013, 11:28
Last Post: hillbilly
  why permissions dont work. ? ExoGamer* 4 3,264 07-21-2013, 13:46
Last Post: X-Track
  Bunker Plugin Won't work OBJAY 4 4,503 06-03-2013, 15:48
Last Post: X-Track
  Help prefix doesnt work with shop koro35 2 2,884 05-18-2013, 10:51
Last Post: koro35
  Help Perks do not work (( x1412 6 4,394 04-06-2013, 18:09
Last Post: x1412
  liberation dont work? puistis 7 7,778 02-18-2013, 09:17
Last Post: JariZ
  Weapon dont work?? Erik The Born 3 2,843 02-05-2013, 19:53
Last Post: Yamato
  private match maps won't work with mods! leereef 1 2,499 01-13-2013, 12:01
Last Post: surtek
  Some images do not work with SetShader xplosiff 8 5,085 01-05-2013, 07:19
Last Post: mw2killer
  Help !giveammo Plugin doesnt work [solved] Hallla 3 3,549 12-29-2012, 20:53
Last Post: Hallla

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.