to have every client run the clientside script, instead of putting the remote execution in a restarting open script, do the following: pack the Client_Execute into an enter script, and instead -1, use ConsolePlayerNumber(), so the script will run for each player independently once they spawn.
Hi Body-Guard, thanks.
Yes, that would be possible too, but the behaviour would be a bit different:
Fireball on the clients would start to spawn when a player enter the game (join) and (not joined) spectators wouldn't see it.
You also could check and store the information in an array in an open script which player number is on the server and start the client script once, but I want to keep the demo simple. Also don't forget leaving players...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum