Class Player

See also:

data

data()

Returns a lua table associated with this player.

deaths

deaths()

Returns the number of deaths a player has suffered.

is_local

is_local()

Returns true if this player is a local player, otherwise false.

kills

kills()

Returns the number of kills a player has made.

name

name()

Returns the name of the player.

say

say(text)

Makes the player send 'text' as a chat message.

select_weapons

select_weapons(weapons)

Tries to change the player's weapons to the WeaponType objects in the array weapons.

stats

stats()

Returns a lua table associated with the stats of this player.

team

team()

Returns the team number of the player.

worm

worm()

Returns the worm of the player.

 
main/modding_docs/lua/player.txt · Last modified: 2007/12/18 19:02 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki