Difference between revisions of "onPlayerConnected"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 1: Line 1:
[[Category:Scripting Commands|ONPLAYERCONNECTED]]
+
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |ONPLAYERCONNECTED]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|ONPLAYERCONNECTED]]
 
  
 +
| arma |= Game name
  
<h2 style="color:#000066">''' onPlayerConnected ''statement'''''</h2>
+
|2.1|= Game version
 +
____________________________________________________________________________________________
  
 +
| This statement is launched whenever a player is connected to a MP session. Variables _id and _name are set. |= Description
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
| '''onPlayerConnected''' statement |= Syntax
  
'''statement:''' [[String]]
+
|p1= statement: [[String]] |= Parameter 1
  
'''Type of returned value:'''
+
| [[Nothing]] |= Return value
 +
____________________________________________________________________________________________
  
[[Nothing]]
+
|  |= See also
  
'''Compatibility:'''
+
}}
  
Version 2.10 required.
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
'''Description:'''
+
<!-- Note Section END -->
 +
</dl>
  
This statement is launched whenever a player is connected to a MP session.
+
<h3 style="display:none">Bottom Section</h3>
  
Variables _id and _name are set.
+
[[Category:Scripting Commands|ONPLAYERCONNECTED]]
 +
[[Category:Scripting Commands OFP Elite |ONPLAYERCONNECTED]]
 +
[[Category:Scripting Commands ArmA|ONPLAYERCONNECTED]]

Revision as of 23:05, 1 August 2006

Introduced with Armed Assault version 2.1
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
2.1

Description

Description:
This statement is launched whenever a player is connected to a MP session. Variables _id and _name are set.

Syntax

Syntax:
onPlayerConnected statement
Parameters:
statement: String
Return Value:
Nothing

Examples

Example 1:
Example needed

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section