Quote:
Originally Posted by iCasTiel
Nгo cheguei a olhar o cуdigo envolvendo a parte do Rank, mas deve-se usar strcat.
Ex:
pawn Код:
CMD:admins(playerid){ static i, Nome[MAX_PLAYER_NAME], cStr[40], Aux[128]; for(i = GetMaxPlayers() - 1; i != -1; --i){ if (IsPlayerConnectd(i) && IsPlayerAdmin(i)) { GetPlayerName(i, Nome, MAX_PLAYER_NAME); format(cStr, sizeof cStr, "Administrador: %s", Nome); strcat(Aux, cStr); } } ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX, "Admins", Aux, "Fechar", ""); return true; }
|
Puts, nem pensei nisso, valeu ae brow, vo tentar dar +REP, ver se consigo kkkkkk...