SA-MP Forums Archive
Check users. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Check users. (/showthread.php?tid=411388)



Check users. - audriuxxx - 28.01.2013

Hi,

Situation:

In my server players two players them names is:

Banana_Apple
Banana_Orange

Then i want ban on them one, but i type just them name first like:

/ban Banana_

If there is more than 1 players, who have the same nick like i give in example, how to make a check?


AW: Check users. - LeBoyce - 28.01.2013

What do you want to check? Do you want to get a list of all players that match your search? Do you want that you have to write the exact name? ..


Re: Check users. - Bakr - 28.01.2013

Then type in the whole name or ID...


Re: Check users. - audriuxxx - 28.01.2013

Yes, because sometimes, you ban wrong player, because it's can be players with some name, like i give example

Код:
Banana_Apple
Banana_Orange
When you write a name, when you want ban player, if you write

Код:
/ban Banana_
But there is two players, who names starts with that, and player can be banned randomly. I just want do, if that name what you typed have two or more players, then you can't ban.


Re: Check users. - audriuxxx - 02.02.2013

How with mysql, check, i want too see all names, who is mach with my inputted half of name.