Havoc-company.com
http://www.havoc-company.com/forum/

IMPORTANT - Do not do this
http://www.havoc-company.com/forum/viewtopic.php?f=13&t=1285
Page 1 of 1

Author:  John [ Sun Jul 31, 2016 10:02 am ]
Post subject:  IMPORTANT - Do not do this

Mission makers. Please do not have this in your init.sqf:

Code:
if (!isServer) exitWith {};


You're stopping any code you put in the init.sqf running on the clients. If you want something to be running only on the client or the server, do it on a case by case basis, like this:

For server:
Code:
if (isServer) then {//Your code here};


For client:
Code:
if (!isServer) then {//Your code here};


If you don't understand this PLEASE for the love of god ask me.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/