lua:ch:kill
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| lua:ch:kill [2014/06/20 04:48] – vodur | lua:ch:kill [2014/06/20 04:58] (current) – vodur | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| </ | </ | ||
| - | <code lua> | + | **name** - string value. Name of a player in same room as CH. |
| + | <code lua> | ||
| CH:kill( char ) | 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.1403239684.txt.gz · Last modified: 2014/06/20 04:48 by vodur