NPC:OnNPCModeInit
From SA-MP Wiki
NPC:OnNPCModeInit
Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.
Gets called when a NPC-script loaded.
(NoParam)
This function does not return a specific value.
public OnNPCModeInit() { print("NPC script loaded"); return 1; }
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- NPC:OnNPCModeExit: Gets called when a NPC-script unloaded.
