OnNPCConnect

From NPC for VCMP 0.4 Servers
Revision as of 10:14, 9 March 2022 by Habi (talk | contribs)
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");
}