NPC:OnNPCConnect

NPC:OnNPCConnect

Description:
Callback NPC:OnNPCConnect called when the NPC successfully connects to the server.
Callback NPC:OnNPCConnect was added in 0.3a and will not work in earlier versions!


Parameters:
(playerid)
int playerid The playerid the NPC has been given.


Return Values:
This function does not return any specific values.


Examples:
public OnNPCConnect(myplayerid)
{
    printf("I successfully connected the server with ID %i!", myplayerid);
}


Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.