OnNPCConnect

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
This function is called when an NPC successfully connect to a server.


Parameters:

(myplayerid)

myplayerid : The player id the NPC has been given.


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


Example

function OnNPCConnect(myplayerid) 
{ 
     print("I have been connected with ID:"+myplayerid+"\n");
}