Suicide: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

6 September 2024

  • curprev 04:0504:05, 6 September 2024127.0.0.1 talk 431 bytes +431 Created page with "{{Welcome| desc=This function kills the npc.| params=<syntaxhighlight lang="lua"> NoParams</syntaxhighlight> <poem></poem>| example= The following npc commits suicide if some one textes 'loser' to it. <source lang="lua"> function OnPlayerText(playerid, message) { if(message=="loser") { Suicide() } }</source>| relfuncs=*SetMyHealth *RequestClassAbs| returns=* true on success and false on failure (npc not spawned)| }}"