OnNPCDisconnect

From NPC for VCMP 0.4 Servers
Revision as of 13:50, 9 March 2022 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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");
}