14.03.2018, 16:20
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.
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.