Home   Help Search Login Register  

Author Topic: server command?  (Read 1215 times)

0 Members and 1 Guest are viewing this topic.

SYCO187

  • Guest
server command?
« on: 29 Apr 2003, 07:29:16 »
hello i recently made a map that spawns enemy randomly around a player it spawns troops tanks and helos.....now the tanks only when my buddy connects...the script makes like 2X as much...now the 1/2 is manned the other is not....why are the tanks spawning double time. it won't do it if i play multi solo...isn't there a server command..?....maybe that would help? :-\

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:server command?
« Reply #1 on: 29 Apr 2003, 22:44:25 »
it would appear by the example of the faults you are giving, that the respawn/spawn of your vehicles is done on the client machine

You need to "Server side Script" any vehicle respawn

to do this create a gamelogic named  "server"

and then for the vehicle creation line in your script, simply precede it with the following line
?(local server):

or if the script is to be only run on the server then have the following line at the start of the script

 ?!(local Server): exit
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

SYCO187

  • Guest
Re:server command?
« Reply #2 on: 30 Apr 2003, 01:08:42 »
cool thx pal