publicVariable: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
'''publicVariable''' "CTFscoreOne" | '''publicVariable''' "CTFscoreOne" | ||
'''Note:''' | |||
This command broadcasts a variable to all clients, but as soon as you change the variable again, you have to use '''publicVariable''' again, as it does not automatically synchronise it. |
Revision as of 19:01, 23 May 2006
publicVariable varName
Operand types:
varName: String
Type of returned value:
Compatibility:
Changed in version 1.34
Description:
Broadcast variable value to all computers.
Only type Number is supported in version 1.33 and before.
Following Types are supported since version 1.34:
Example:
publicVariable "CTFscoreOne"
Note:
This command broadcasts a variable to all clients, but as soon as you change the variable again, you have to use publicVariable again, as it does not automatically synchronise it.