I have this:
Code:
if(SQL_NumResults(CheckALL) > 0) {
resultado = SQL_ReadResult(CheckALL, 1);
GetServer = SQL_ReadResult(CheckALL, 2);
GetPlayers = SQL_ReadResult(CheckALL, 3);
GetMaxPlayers = SQL_ReadResult(CheckALL, 4);
}
in
Code:
public MySql_Init()
{
how to use resultado, GetServer, GetPlayers and GetMaxPlayers in other public function and print right information, for example:
Code:
public server(id) {
client_print(id,print_chat,"%s",resultado);
}
?