23.12.2018, 10:38
(
Last edited by KamilPolska; 23/12/2018 at 11:37 AM.
)
Yes, but you still have to do it to check if the player has 0 warnings in the MySQL database.
How to change it to a newer version of MySQL BlueG.
EDIT: How the player is offline
How to change it to a newer version of MySQL BlueG.
Code:
stock MySQL_GetAccInt(column[], nick[]) { new string[128], value; format(string, sizeof(string), "SELECT `%s` FROM `accounts` WHERE `Nick` = '%s'", column, nick); mysql_query(string); mysql_store_result(); if(mysql_num_rows()) { value = mysql_fetch_int(); } mysql_free_result(); return value; }