NPC:OnNPCModeInit
From SA-MP Wiki
Description:
Gets called when a NPC script is loaded.
This function has no parameters.
Return Values:
This callback does not handle returns.
public OnNPCModeInit() { print("NPC script loaded."); return 1; }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- OnNPCModeExit: Gets called when a NPC script unloaded.