I am a bit confused when it comes to scripts that are server based and client based.
I see in the dayz_server.pbo it has some functions that operate on client side.
If i wanted to run a script that will be placed in dayz_server.pbo, how can i execute this on the client side?
Its a script that i want it to run all the time until a player triggers an event and then the waituntil on the script will be released running the code.
I just dont understand why this works if i place it on the MPMission folder init.sqf
_nill = execvm "custom_scripts\trigger.sqf";
but when i move the script in the server.pbo and do in the server_function.sqf
Question
Sandbird
I am a bit confused when it comes to scripts that are server based and client based.
I see in the dayz_server.pbo it has some functions that operate on client side.
If i wanted to run a script that will be placed in dayz_server.pbo, how can i execute this on the client side?
Its a script that i want it to run all the time until a player triggers an event and then the waituntil on the script will be released running the code.
I just dont understand why this works if i place it on the MPMission folder init.sqf
_nill = execvm "custom_scripts\trigger.sqf";
but when i move the script in the server.pbo and do in the server_function.sqf
_nill = execvm "\z\addons\dayz_server\init\trigger.sqf";
it wont work.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now