Hey there,
so i was wondering how i can use my publicvariable.
So right now i did this to determine it and publish it to the server (found in the mission.sqm)
But when i try to use it in the player_onDisconnect.sqf (for example) on the server it won't work anymore.
Can anyone tell me why it won't work an maybe give me even a hint to to get it working?
every help is appreciated.
cheers J3T
so i was wondering how i can use my publicvariable.
So right now i did this to determine it and publish it to the server (found in the mission.sqm)
Code:
expActiv="secprot = true; publicVariableServer ""secprot"";";
But when i try to use it in the player_onDisconnect.sqf (for example) on the server it won't work anymore.
Code:
if (secprot == true) then {<random code that works};
Can anyone tell me why it won't work an maybe give me even a hint to to get it working?
every help is appreciated.
cheers J3T