publicVariableServer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
Line 26: Line 26:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on 24 Aug, 2012
<dd class="notedate">Posted on 24 Aug, 2012</dd>
<dt class="note">[[User:Kylania|Kylania]]<dd class="note">
<dt class="note">[[User:Kylania|Kylania]]<dd class="note">
[[publicVariableServer]] (run on client)<BR>
[[publicVariableServer]] (run on client)<BR>

Revision as of 02:05, 30 January 2021

Hover & click on the images for description

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

See also:
See also needed

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