isPlayer
Jump to navigation
Jump to search
isPlayer person
Operand types:
person: Object
Type of returned value:
Compatibility:
Version 2.92 required.
Description:
Check if given person is a human player. It is not the same as testing object == player, because in MP it tests for any player, not only for the local one. If object is a vehicle, the test is done for the vehicle commander.