Home   Help Search Login Register  

Author Topic: Who's Server?  (Read 1235 times)

0 Members and 1 Guest are viewing this topic.

Offline Gadjuka

  • Members
  • *
  • Programmer
    • Operation Flashpoint: Commander
Who's Server?
« on: 05 Jun 2003, 11:34:02 »
I want a script to run only on the server, not at any clients. Is this possible, and how?
Currently working on Operation Flashpoint: Commander.
Website: http://www.nordserver.se/commander/

deaddog

  • Guest
Re:Who's Server?
« Reply #1 on: 05 Jun 2003, 15:39:26 »
That's easy.

Create a gamelogic and name it "server", or anything really.  You could call it "i_am_not_the_server" if you want.  :)

In your script, place this in the first line:

?!local "name of gamelogic":exit  

example:
?!local server:exit

Gamelogics are only created on the server computer.



« Last Edit: 05 Jun 2003, 15:40:01 by deaddog »