AmISpawned
Jump to navigation
Jump to search
Description:
This function checks whether the npc is currently spawned.
Parameters:
NoParams
Return Values:
Returns true if the npc is spawned, false otherwise.
Example
function OnPlayerText(playerid, message) { if(message== "John") { if(AmISpawned()) { SendChat("Yes dear."); } else { SendChat("I'm not spawned lilly"); } } }
Related Functions
The following functions may be helpful as they relate to this function in one way or another.