Jump to content
Sign in to follow this  
aiki

Skiptime in mp

Recommended Posts

Hi,

I added an action for each player, some thing like that :

Wait.sqs :

Do that

...

...

Skiptime 0.25

exit

But if a player do this action, the "new" time is not distribute to others player.

For example :

It's 10wow.gif0 for all (Player1,Player2)

Player1 do this action (Wait.sqs)

For him, it 10:15

But for Player2 it's always 10wow.gif0

This command seems to be Local in this context, because if i perform a Skiptime by a trigger, the "new" time is distributed.

So, Skiptime must be executed only by the server (?)

Is there a way for resolve that without trigger?

Thanks.

Share this post


Link to post
Share on other sites

search and ye shall find:

make a game logic, name it "server"(without quotation marks)

and in the beggining of every script, put

?(local!=server): goto "finish"

and put #finish tag just before exit command at the end of script.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×