publicVariableServer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 16: | Line 16: | ||
| Send the variable value to the server - same limitations regarding variable type as [[publicVariable#Description|publicVariable]]. {{Feature|arma3|In Arma 3 it is possible to broadcast [[nil]] value}} | | Send the variable value to the server - same limitations regarding variable type as [[publicVariable#Description|publicVariable]]. {{Feature|arma3|In Arma 3 it is possible to broadcast [[nil]] value}} | ||
| '''publicVariableServer''' varName | |s1= '''publicVariableServer''' varName | ||
|p1= varName: [[String]] | |p1= varName: [[String]] |
Revision as of 23:21, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- MultiplayerVariables
Syntax
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