player: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|PLAYER]]
[[Category:Scripting Commands|PLAYER]]
[[Category:Scripting Commands OFP 1.97|PLAYER]]
[[Category:Scripting Commands OFP 1.96|PLAYER]]
[[Category:Scripting Commands OFP 1.46|PLAYER]]
[[Category:Scripting Commands OFP 1.46|PLAYER]]
[[Category:Scripting Commands ArmA|PLAYER]]
[[Category:Scripting Commands ArmA|PLAYER]]

Revision as of 21:56, 1 June 2006


player


Operand types:

None

Type of returned value:

Object

Description:

Person controled by player.

In MP this value is different on each computer.


Example:

player addrating 500


MP Note:

The variable player is not always initialised at startup of a mission, you have to add a (very short) delay before you can use it.