How can I do this?
#3

You could just have an array of names that shouldn't be banned like:

new doNotBanList[] = { "Jhon_Miller", "Harry_Potter", "Stephen_Hawking", "Donald_Trump" };

(been a while since I've used PAWN, might not be correct way to create array)

Then in your ban method or wherever you handle that logic, you can just loop through that array and see if the name matches any in the array. If it does match, then don't ban them.
Reply


Messages In This Thread
How can I do this? - by LOLITO - 14.03.2018, 16:15
Re: How can I do this? - by AndreiWow - 14.03.2018, 16:19
Re: How can I do this? - by mickmelon - 14.03.2018, 16:20
Re: How can I do this? - by LOLITO - 14.03.2018, 16:22
Re: How can I do this? - by mickmelon - 14.03.2018, 16:23
Re: How can I do this? - by LOLITO - 14.03.2018, 16:26
Re: How can I do this? - by mickmelon - 14.03.2018, 16:33
Re: How can I do this? - by LOLITO - 14.03.2018, 16:39

Forum Jump:


Users browsing this thread: 1 Guest(s)