Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,302 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Need help with an reload timer #242978
12/26/08 21:02
12/26/08 21:02
Joined: Mar 2007
Posts: 112
MikeS Offline OP
Member
MikeS  Offline OP
Member

Joined: Mar 2007
Posts: 112
hi guys, i need help with an reload timer.

I would like to run it on clientside, so the server doesnt need to work with it.

My problem is, all timer functions i tried , dont work the way i want it.

If i use a
wait(-5);

in the
Code:
function players_fired()

{

       if (connection == 2)

       {

               client_fired = 1;

 ************* wait (-5); **************

               client_fired = 0;

       }

       if (connection == 3)

       {

               server_fired = 1;

               wait (1);

               server_fired = 0;

       }


i am no longer possible to make anny move orders during the 5 seconds wait.

if someone has an idea, plz help me,
ill send u my whole code per PM then, so u c what i mean.

Thanks guys.


Last edited by MikeS; 12/26/08 21:40.
Re: Need help with an reload timer [Re: MikeS] #242983
12/26/08 22:00
12/26/08 22:00
Joined: Mar 2007
Posts: 112
MikeS Offline OP
Member
MikeS  Offline OP
Member

Joined: Mar 2007
Posts: 112
Ok, i solved it,

I used a beep between each count of the timer.

the beep slowed down everything and worked like a wait(-1);

so the movement was judder...

thanks


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1