Server action from client

delpi

Well-Known Member
I'm wanting to set up a mod where for certain players there is an action available on the wheel options.

This would send an action to the server.

I'll admit I'll be stretching my skills a bit to do this, but I've got lots of experience with other platforms.

To do this type if thing, would I setup a global variable and just watch for it to change?? When you declare a global variable, do you declare it on server and client?
 
...... When you declare a global variable, do you declare it on server and client?
Local variables start with an underscore, globals dont.
_localvariable
Globalvariable

Local means the current code block or file in which its declared.

By global in arma we mean global to the machine its running on and all the scripts on that machine.
Global variables are not broadcast to other machines like the server or other players unless you use
publicvariable "variablename";
 
Back
Top