NPC:OnNPCSpawn
From SA-MP Wiki
NPC:OnNPCSpawn
Warning: This NPC callback was added in SA-MP version 0.3. It is not available in previous versions.
Gets called when a NPC spawned.
(NoParam)
This function does not return a specific value.
public OnNPCSpawn() { print("NPC spawned"); SendChat("Hello World. I'm a bot."); return 1; }
