publicVariableServer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|1.62 | |1.62 | ||
|gr1 = Multiplayer | |gr1= Multiplayer | ||
|gr2 = Variables | |gr2= Variables | ||
| Send the variable value to the server - same limitations regarding variable type as [[publicVariable#Description|publicVariable]]. <br><br> | | Send the variable value to the server - same limitations regarding variable type as [[publicVariable#Description|publicVariable]]. <br><br> |
Revision as of 12:45, 11 April 2021
Description
- Description:
- Description needed
- Groups:
- MultiplayerVariables
Syntax
- Syntax:
- Syntax needed
- Parameters:
- varName: String
- Return Value:
- Return value needed
Examples
- Example 1:
publicVariableServer "CTFscoreOne";
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on 24 Aug, 2012
- Kylania
-
publicVariableServer (run on client)
publicVariableClient (run on server)
Publishers the variable (name as STRING) to the server only. Useful when you want to synchronize a variable with the server but not any other clients. - Rocket