Jump to content

[REL] Firewall System (Non-Allowed Players)


Max+

Recommended Posts

Posted

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 :D

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

Posted

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

Posted

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 !

Posted

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

Posted

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.

Posted

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

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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

Posted
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.

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 :S Quick send it.

Posted

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.

Posted

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...