lua:ch:kill
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
lua:ch:kill [2014/06/20 04:47] – created vodur | lua:ch:kill [2014/06/20 04:58] (current) – vodur | ||
---|---|---|---|
Line 1: | Line 1: | ||
<code lua> | <code lua> | ||
- | |||
CH:kill( name ) | CH:kill( name ) | ||
+ | </ | ||
+ | |||
+ | **name** - string value. Name of a player in same room as CH. | ||
+ | |||
+ | <code lua> | ||
+ | CH:kill( char ) | ||
+ | </ | ||
+ | |||
+ | **char** - CH value. A player in the same room as CH. | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | <code lua> | ||
+ | |||
+ | kill(ch.name) | ||
+ | |||
+ | kill(ch) | ||
</ | </ | ||
lua/ch/kill.1403239656.txt.gz · Last modified: 2014/06/20 04:47 by vodur