18.05.2014, 15:13
- 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)
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..
- 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));

+1 for the one who help me , i don't know how to do that with mysql..