24.04.2012, 20:04
Nesse cmd o que taria errado?
pawn Код:
DonSpeed:admins(playerid,params[])
{
new Speed[250];
GetPlayerName(playerid, Name, sizeof(Name));
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Jogador[i][pAdmin] >= 1){
strcat(Speed,"%s(ID:%d) Administrador Level 1\n", Name, i); }
if(Jogador[i][pAdmin] >= 2){
strcat(Speed, "%s(ID:%d) Administrador Level 2\n", Name, i); }
if(Jogador[i][pAdmin] >= 3){
strcat(Speed, "%s(ID:%d) Administrador Level 3\n", Name, i); }
if(Jogador[i][pAdmin] >= 4){
strcat(Speed, "%s(ID:%d) Administrador Level 4\n", Name, i); }
if(Jogador[i][pAdmin] >= 5){
strcat(Speed, "%s(ID:%d) Fundador/Script\n", Name, i); }
}
ShowPlayerDialog(playerid, DialogADM, DIALOG_STYLE_MSGBOX, "Administradores", Speed, "Fechar", "");
}
return 1;
}