22.02.2014, 17:56
I'm not really good in this domain,but I tryed:
And it shows that there is 1 registered account,but there are more..
pawn Код:
new totalaccs;
totalaccs = mysql_function_query( g_Handle, "SELECT COUNT(*) AS totalplayers FROM `Accounts`", false, "", "" );
new stringss[50];
format(stringss, 50, "Accounts Registered: %d",totalaccs);
TextDrawSetString(registered, stringss);
TextDrawShowForPlayer( playerid, registered );