03.01.2017, 23:00
Can someone tell me why this top5 cmd doesn't work?
When i type it, it says "Unknown command".
I'm using Easy MySQL include.
Код:
CMD:top5(playerid) { new string[128], names[24]; new handle = SQL::OpenEx(SQL::MREAD, "players", "p_score", "", "", "", -1, 10, -1, "Score"); SQL_GetCallback(handle, i) { SQL::ReadString(handle, "Name", names, 24, i); format(string, sizeof(string), "Name %d : %s", i, names); SendClientMessage(playerid, -1, string); } SQL::Close(handle); return 1; }
I'm using Easy MySQL include.