[Pedido] Erro Samp
#3

Erros Ao Copilar
Quote:

C:\Users\Usuario\Desktop\Server Samp\gamemodes\BPS.pwn(5891) : warning 219: local variable "sendername" shadows a variable at a preceding level
C:\Users\Usuario\Desktop\Server Samp\gamemodes\BPS.pwn(5896) : error 035: argument type mismatch (argument 1)
C:\Users\Usuario\Desktop\Server Samp\gamemodes\BPS.pwn(5896) : error 035: argument type mismatch (argument 1)
C:\Users\Usuario\Desktop\Server Samp\gamemodes\BPS.pwn(589 : error 017: undefined symbol "arquivo"
C:\Users\Usuario\Desktop\Server Samp\gamemodes\BPS.pwn(589 : error 017: undefined symbol "arquivo"
C:\Users\Usuario\Desktop\Server Samp\gamemodes\BPS.pwn(589 : error 029: invalid expression, assumed zero
C:\Users\Usuario\Desktop\Server Samp\gamemodes\BPS.pwn(589 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.

CMD INTEIRO
Quote:

CMD:darfuncao(playerid, params[]) {
new admin, funcao[56];
new string[128];
new sendername[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_GRAD2, "Comando restrito apenas pra administradores.");
if(sscanf(params, "us[56]", admin, funcao)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /criar_funcao [{E01B4C}id/nome{B4B5B7}] [{249E33}funзгo{B4B5B7}]");
format(string, sizeof(string), "O Admin Setou Sua %s Funзao Para [%s]", sendername, funcao);
SendClientMessage(admin, LIGHTBLUE, string);
format(pAdmin, sizeof(string), "Vocк promoveu %s а funзгo %s de administraзгo.", sendername, funcao);
SendClientMessage(playerid, LIGHTBLUE, string);
format(arquivo, sizeof(arquivo), "Contas/%s.ini", sendername));
DOF2_SetString(arquivo, "Funcao", funcao);
DOF2_SaveFile();
format(PlayerInfo[admin][Funcao], 60, "%s", DOF2_GetString(arquivo, "Funcao"));
return 1;
}

Reply


Messages In This Thread
Erro Samp - by JuniorTheDM - 11.04.2015, 00:00
Re: Erro Samp - by SkullFire - 11.04.2015, 00:11
Respuesta: Erro Samp - by JuniorTheDM - 11.04.2015, 00:15
Re: Erro Samp - by SkullFire - 11.04.2015, 00:23
Respuesta: Erro Samp - by JuniorTheDM - 11.04.2015, 00:37
Re: Respuesta: Erro Samp - by SkullFire - 11.04.2015, 00:38
Respuesta: Erro Samp - by JuniorTheDM - 11.04.2015, 00:40
Respuesta: Erro Samp - by JuniorTheDM - 11.04.2015, 00:42
Re: Erro Samp - by SkullFire - 11.04.2015, 00:45
Respuesta: Erro Samp - by JuniorTheDM - 11.04.2015, 00:49

Forum Jump:


Users browsing this thread: 2 Guest(s)