strcmp unban comannd ?... - 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: strcmp unban comannd ?... (
/showthread.php?tid=513882)
strcmp unban comannd ?... -
Metharon - 18.05.2014
- Name of database samp_db
- Tabel name Blocat
- The information in tabel for banned accounts in "Blocat" (if Blocat = 1 , you can't enter on server , you're banned)
Код:
mysql_format(sqldb, query, sizeof(query), "SELECT * FROM Conturi WHERE Nume = '%e' LIMIT 0,1", GetName(playerid));
I want , the unban command to check if the name exist in tabel to set him Blocat == 0
+1 for the one who help me , i don't know how to do that with mysql..