NPC:OnNPCModeInit
From SA-MP Wiki
Revision as of 08:58, 21 April 2014; view current revision
←Older revision | Newer revision→
←Older revision | Newer revision→
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; }
[edit]
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.