OnNPCDisconnect

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


Description:
This function is called when an NPC disconnect from the server.


Parameters:

(reason)

reason : The reason why the bot has disconnected from the server.


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


Example

function OnNPCDisconnect(reason) 
{ 
     print("Disconnected from server. Reason:"+reason+"\n");
}