OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Gadjuka 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?
-
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.