Home   Help Search Login Register  

Author Topic: Working Vehicle Respawn Script  (Read 464 times)

0 Members and 1 Guest are viewing this topic.

Viper4841

  • Guest
Working Vehicle Respawn Script
« on: 10 Apr 2003, 20:40:16 »
I have finished a very reliable respawn script for vehicles, and it works fine on a single player mission. However, there's one problem: when I use it in multiplayer, the CamCreate command I use to create a vehicle is run on the host machine, as well as on each client, so several vehicles appear right next to each other!  This is a funny effect, but not what I'm looking for...

DOES ANYONE KNOW THE COMMAND THAT CHECKS TO SEE IF THE LOCAL MACHINE IS THE HOST???

If the local machine is a client, the respawn script will not be run, but it WILL be run only on the server, creating the desired effect.

Thanks!

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Working Vehicle Respawn Script
« Reply #1 on: 11 Apr 2003, 02:02:23 »
Welcome to the forums, Viper4841

Please choose one board to post your question on thanks ;)

All replies to this topic to here.

# Topic Locked