Difference between revisions of "onPlayerConnected"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
(example)
Line 34: Line 34:
 
//joining player PC to a random value  
 
//joining player PC to a random value  
 
};</code>|= Example 2
 
};</code>|= Example 2
 +
 +
|x4= From Arma 3 v1.49: <code>[[onPlayerConnected]] {isJip = _jip; _owner [[publicVariableClient]] "isJip"};
 +
//Each player will now have variable isJip containing individual JIP info</code>|= Example 2
  
 
|mp= The ''statement'' is executed only on the server, not on the joining player's computer, nor on any other client.<br>
 
|mp= The ''statement'' is executed only on the server, not on the joining player's computer, nor on any other client.<br>

Revision as of 20:51, 9 July 2015

Template:Command

Notes

Bottom Section