30.08.2014, 09:28
I have the command admins and it's not showing my name it should be like this:
(39) Owner Max , and it is just showing (39) Owner
The problem is at %s.
(39) Owner Max , and it is just showing (39) Owner
HTML Code:
CMD:admins(playerid, params[]) { new string[128],sendername[25]; SendClientMessage(playerid, COLOR_TEAL, "------------------------------Admins Online-------------------------------------------"); foreach(Player,i) { if(playerVariables[i][pAdmin] == 6) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "(%d) Owner %s", playerid, playerVariables[i],GetName(i)); SendClientMessage(playerid, COLOR_WHITE, string); } } return 1; }