Max+ Posted February 26, 2013 Posted February 26, 2013 Hello This is My First Script its an Non-Allowed Players to enter you server Just Put the Serials of the players replce XXX = to your serial Any Bug - Error > Connect Me # Dont Forget To Add it to Acl.xml resource.firewall Please Rate 5/5 https://community.multitheftauto.com/ind ... ls&id=6564 - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Max+ Posted February 26, 2013 Author Posted February 26, 2013 Thank's Fhode And iam Going To Uploading New Versions . - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
PaiN^ Posted February 26, 2013 Posted February 26, 2013 Great job Very nice script ..! rated 5/5 " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
Max+ Posted February 26, 2013 Author Posted February 26, 2013 Thank's Guys - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
codeluaeveryday Posted February 26, 2013 Posted February 26, 2013 Ok man, this needs some serious updates. Also no offense, but the way you are doing it isn't the most effective way, take note of the modifications below, also this has the same ability as normal bans... Use: https://wiki.multitheftauto.com/wiki/OnPlayerConnect Server = --------Made By Ops1 = Yasser --- xxx = serials not allowed players you can put 10 serials firewall = { ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, ['XXX'] = true, } addEventHandler('onPlayerConnect', getRootElement(), function(playerNick, playerIP, playerUsername, playerSerial, playerVersionNumber, playerVersionString) if firewall[playerSerial] then cancelEvent('You can\'t enter the server, your serial blocked.') end end ) Also in the client, you are using onClientPlayerQuit, this might get in the way of other peoples codes, so you might wish to block it. Tutorials: => getOnlineAdmins() => [TUT] Better Join Country => [TUT] Updating admin countries => [TUT] Updating admin flags Server: K@N Zombies / Freeroam
Anderl Posted February 26, 2013 Posted February 26, 2013 I'm sorry but I don't see why would this be any useful. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
Max+ Posted February 26, 2013 Author Posted February 26, 2013 it's for blocking the hackers ! and cmst my script work no need for ip and username etc ... Thank's for replay - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Anderl Posted February 26, 2013 Posted February 26, 2013 MTA already has a ban system where you can ban by IP, username or serial. There is no need for that, and even if it was, it's so easy to do that even a beginner could do it. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
codeluaeveryday Posted February 26, 2013 Posted February 26, 2013 I am with Anderl, I also said in my post that this is just like banning a serial, it could at least be updated to using a database or a webpage of blocked serials and you can update it regularly. Also hackers? WTF I swear there is no such thing as a hack on the updated versions of MTA:SA, I've played lots of Race and Weapon Deathmatch / Basemode servers, I am extremely pro at this and have good ranks in certain servers and I never have seen a hacker, the only thing I could think of coming close to a hack would be someone with 1000 ping or more, or 6 FPS or less. Tutorials: => getOnlineAdmins() => [TUT] Better Join Country => [TUT] Updating admin countries => [TUT] Updating admin flags Server: K@N Zombies / Freeroam
Max+ Posted February 26, 2013 Author Posted February 26, 2013 yes there is Hack on the new update also the mta ban system if player get out fast you cant ban him this well not let him enter again. - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Anderl Posted February 26, 2013 Posted February 26, 2013 The player can't even join the server if banned, he'll get an error box while connecting to the server. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
codeluaeveryday Posted February 26, 2013 Posted February 26, 2013 yes there is Hack on the new updatealso the mta ban system if player get out fast you cant ban him this well not let him enter again. Are you SERIOUS right now? Wtf, Anderl I know your pain everyday. /whowas PlayerNameToBan Copy the serial /banserial SERIAL ^^ DUHHHHHH.... Plus Anderl my code addition above does that lol... I'm still with Anderl. P.S Send me the hack in a PM, uhm just for testing so I can develop a anti-hack code for it... Yep anti-hack Quick send it. Tutorials: => getOnlineAdmins() => [TUT] Better Join Country => [TUT] Updating admin countries => [TUT] Updating admin flags Server: K@N Zombies / Freeroam
Cadu12 Posted February 27, 2013 Posted February 27, 2013 Do not PM to him, you can only PM to MTA Team or ccw (in IRC), not to me. Ingame nick: Cadu12
codeluaeveryday Posted February 27, 2013 Posted February 27, 2013 Cadu take a joke, I'm literally an anti-hacker, people which hack on this game manage to fail while vssing me. I have been playing MTA: Race for a long itme and mta deathmatch gamemode and basemode. I do not want that hack at all, still I doubt hacks work. Tutorials: => getOnlineAdmins() => [TUT] Better Join Country => [TUT] Updating admin countries => [TUT] Updating admin flags Server: K@N Zombies / Freeroam
myonlake Posted February 27, 2013 Posted February 27, 2013 Honestly speaking your resource makes no sense. It made more sense if you had, for example, a global bans list which is used by multiple popular servers. The original ban script works perfectly and if there's a problem with it, you simply report it to the Mantis and let the developers fix them. Nothing is impossible. If I helped you, please click the like button on the right Thanks!
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