publicVariableServer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> <dt><dt>" to " <dl class="command_description"> <dt><dt>") |
Lou Montana (talk | contribs) m (Text replacement - "]]<dd class="note">" to "]]</dt> <dd class="note">") |
||
Line 26: | Line 26: | ||
<dt><dt> | <dt><dt> | ||
<dd class="notedate">Posted on 24 Aug, 2012</dd> | <dd class="notedate">Posted on 24 Aug, 2012</dd> | ||
<dt class="note">[[User:Kylania|Kylania]]<dd class="note"> | <dt class="note">[[User:Kylania|Kylania]]</dt> | ||
<dd class="note"> | |||
[[publicVariableServer]] (run on client)<BR> | [[publicVariableServer]] (run on client)<BR> | ||
[[publicVariableClient]] (run on server)<BR> | [[publicVariableClient]] (run on server)<BR> |
Revision as of 18:32, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- MultiplayerVariables
Syntax
- Syntax:
- Syntax needed
- Parameters:
- varName: String
- Return Value:
- Nothing
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