![]() |
|
this work? - 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: this work? (/Thread-this-work.html) |
this work? - Gamemaster20 - 10-16-2011 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;
}
}RE: this work? - Nukem - 10-16-2011 Why don't you actually try this code and see if it works yourself, instead of making this useless topic. RE: this work? - Tomsen1410 - 10-16-2011 It wont work. u need to do a { } to your while loop. or what do u actually want to do with that? RE: this work? - iAegle - 10-16-2011 (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 RE: this work? - Tomsen1410 - 10-16-2011 (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? If he wants that sure : P |