Sora Posted December 16, 2011 Share Posted December 16, 2011 (edited) Deleted Edited June 13, 2015 by Guest Link to comment
bandi94 Posted December 16, 2011 Share Posted December 16, 2011 "onPlayerJoin" getPlayerSerial() cancelEvent() or use a tabel to store serial numbers and after whit a for i,v in pairs(Serials) do and check if v==player Serial banPlayer Link to comment
Sora Posted December 16, 2011 Author Share Posted December 16, 2011 (edited) Deleted Edited June 13, 2015 by Guest Link to comment
bandi94 Posted December 16, 2011 Share Posted December 16, 2011 getPlayerName() https://wiki.multitheftauto.com/wiki/Scr ... troduction Link to comment
Castillo Posted December 16, 2011 Share Posted December 16, 2011 "onPlayerJoin" getPlayerSerial() cancelEvent() or use a tabel to store serial numbers and after whit a for i,v in pairs(Serials) do and check if v==player Serial banPlayer You can't cancel the "onPlayerJoin" event, you can only cancel the "onPlayerConnect", just before he joins. Link to comment
BinSlayer1 Posted December 16, 2011 Share Posted December 16, 2011 May I suggest that you use a nick protection resource? https://community.multitheftauto.com/index.php?p= ... ils&id=492 it's not a good idea to ban people because the serial doesn't match one in your database, because the admin can simply play from another computer (i.e another serial). A nick protection service would suit your needs much better Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now