Man this player
From LSWiki
(Difference between revisions)
Current revision
man this_player
Contents |
[edit]
Synopsis
object this_player(void)
[edit]
Description
Return the current command giver. This can be an interactive user or a living object like a npc.
If called from inside the heart_beat() of a not living object 0 will be returned.
[edit]
Example
if (this_player() != this_interactive()) write("Hey, somebody must have forced us to do a command!\n");
[edit]
See Also
this_object(E), previous_object(E), interactive(E), living(E)