08.07.2010, 22:11
(
Последний раз редактировалось Master™; 09.07.2010 в 09:20.
)
Ok, I have an /admins command i would like to change something but im not sure how??
Here it is:
Well im owner and when someone does /admins i want it to show me as Owner: %s
instead of Admin: %s
things to add:
Owner: %s - my name "Luco_Corleone"
Co-Cowner: %s - his name "Anderson_Matthews"
Here it is:
Код:
if (strcmp(cmd, "/admins", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_RED, " ** Admins Online: **"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pAdmin] >= 1) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "|*| Admin: %s |*|", sendername); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } } } return 1; }
instead of Admin: %s
things to add:
Owner: %s - my name "Luco_Corleone"
Co-Cowner: %s - his name "Anderson_Matthews"