************************************************* 2007-07-22 Release 0.5.5 public beta ------------------------------------------------- x GSTNet_Disconnect(vId) kick a client from server with his unique clientid
Code:
//---------------------------------------------------------------------------------------- // function: disconnect // purpose: disconnect client from server //------------------------------------------------------------------ function disconnect() { GSTNet_Disconnect(2); } on_d=disconnect;
//---------------------------------------------------------------------------------------- // function: kick // purpose: kick a client from server (only server) //------------------------------------------------------------------ function kick() { GSTNet_Disconnect(2); } on_k=kick;
Andreas GSTools - Home of GSTScript 0.9.8: lua scripting for A6/7/8 GSTNet 0.7.9.20: network plugin for A6/7/8 GSTsqlite 1.3.7: sql database plugin for A6/7/8 3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files