AmISpawned: 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 05:0505:05, 6 September 2024Habi talk contribs 403 bytes +403 Created page with "{{Welcome| desc=This function checks whether the npc is currently spawned.| params=NoParams| example=<source lang="lua"> function OnPlayerText(playerid, message) { if(message== "John") { if(AmISpawned()) { SendChat("Yes dear."); } else { SendChat("I'm not spawned lilly"); } } } </source>| relfuncs=*RequestSpawn| retvals=Returns true if the npc is spawned, false otherwise.| }}"