NPC:OnNPCModeInit

From SA-MP Wiki

Jump to: navigation, search


NPC:OnNPCModeInit was added in SA-MP 0.3a This callback was added in SA-MP 0.3a and will not work in earlier versions!


Description:

Gets called when a NPC script is loaded.


Parameters:
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.

Personal tools
Navigation
Toolbox
In other languages