07.12.2011, 05:49
to tentando setar o comando /daradmin pra admin mais toda vez da 26 erros-'
comando sem o
quando coloco ele no gm da 26 erros-'
comando sem o
pawn Код:
if(Admin[playerid] >= 9 || IsPlayerAdmin(playerid))
{
pawn Код:
if(strcmp(cmd, "/daradmin", true) == 0)
{
tmp = strtok(cmdtext, idx);
new playerB, level;
if(!strlen(tmp)) return SendClientMessage(playerid, vermelho, "Uso correto:{FFFFFF} /DarAdmin [id] [level]");
playerB = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, vermelho, "Uso correto:{FFFFFF} /DarAdmin [id] [level]");
level = strval(tmp);
if(!IsPlayerConnected(playerB)) return SendClientMessage(playerid, Branco, "Este jogador nгo estб online");
ProgressaoInfo[playerid][Admin] = level;
new string[105];
new Recebedor[MAX_PLAYER_NAME];
GetPlayerName(playerB, Recebedor, sizeof(Recebedor));
format(string, sizeof(string), "Vocк foi promovido a administrador nнvel {FFFFFF}%d{E31919} por{FFFFFF} %s", level, pNome(playerid));
SendClientMessage(playerB, AdminCor, string);
format(string, sizeof(string), "Vocк promoveu {FFFFFF}%s{E31919} a nнvel {FFFFFF}%d{E31919} de administrador", Recebedor, level);
SendClientMessage(playerid, AdminCor, string);
return 1;
}
pawn Код:
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1154) : error 004: function "SetarPlacas" is not implemented
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1199) : error 017: undefined symbol "SalvarPlayer"
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1206) : error 017: undefined symbol "CriarTDAdmins"
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1367) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1371) : error 090: public functions may not return arrays (symbol "OnDialogResponse")
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1377) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1385) : error 090: public functions may not return arrays (symbol "OnDialogResponse")
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1390) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1391) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1392) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1393) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1405) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1408) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1413) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1441) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1458) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1464) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1479) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1487) : error 017: undefined symbol "SetarPlayer"
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1497) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1505) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1511) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1522) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1535) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1543) : error 079: inconsistent return types (array & non-array)
C:\Users\Richad\Desktop\Tudo\Nova pasta\ProgressaoRPG.pwn(1547) : error 079: inconsistent return types (array & non-array)
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.