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!


Gets called when a NPC-script loaded.


Parameters:
(NoParam)


ReturnsThis function doesn't return a specific value


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
In other languages