[Ajuda] Erros no GameMode
#1

Alguйm pode me ajuda-lo pfv
Код:
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(762) : warning 219: local variable "strconta" shadows a variable at a preceding level
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(999) : warning 219: local variable "strconta" shadows a variable at a preceding level
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1023) : warning 219: local variable "strconta" shadows a variable at a preceding level
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1338) : warning 219: local variable "strconta" shadows a variable at a preceding level
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1344) : error 035: argument type mismatch (argument 1)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1345) : error 035: argument type mismatch (argument 1)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1348) : warning 215: expression has no effect
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1353) : error 017: undefined symbol "Nome"
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1355) : error 035: argument type mismatch (argument 3)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1356) : error 035: argument type mismatch (argument 3)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1357) : error 035: argument type mismatch (argument 3)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1358) : error 035: argument type mismatch (argument 3)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1359) : error 035: argument type mismatch (argument 3)
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1743) : warning 219: local variable "strconta" shadows a variable at a preceding level
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1743) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1743) : error 017: undefined symbol "player"
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1743) : warning 215: expression has no effect
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1743) : error 001: expected token: ";", but found "]"
C:\Users\Henrique\Downloads\DM\harddm\gamemodes\hard.pwn(1743) : fatal error 107: too many error messages on one line

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


12 Errors.
PHP код:
CMD:ban(playerid,params[])
{
    new
        
id,
        
reason[40],
        
strconta [100],
        
msg[80];
    if(
Player[playerid][admin] <= 1) return SendClientMessage(playerid,azul,"ERRO: Vocк nгo tem permissгo para executar este comando!");
    if(
sscanf(params,"us",idreason)) return SendClientMessage(playerid,azul,"(DICA): Use /ban [ID/Parte do nome [Dias][Motivo]");
    if(!
IsPlayerConnected(id)) return SendClientMessage(playerid,azul,"ID Invбlido");
    
getdate(AnoMesDia);
    
gettime(HoraMinutoSegundo);
    
format(msg,80,"» O admin %s baniu %s Motivo: %s",GetName(playerid),GetName(id),reason);
    
SendClientMessageToAll(rosa,msg);
    
SalvarLog("/Logs/Banidos.log"msg);// ?
    
format(strcontasizeof(strconta ), "/Banidos/%s.ini",GetName(playerid));
    if(!
fexist(strconta ))
    {
        
DOF2_CreateFile(strconta );
        
DOF2_SetString(strconta"Admin"Nome(playerid));
        
DOF2_SetString(strconta"Motivo"reason);
        
DOF2_SetInt(strconta"Ano"Ano);
        
DOF2_SetInt(strconta"Mes"Mes);
        
DOF2_SetInt(strconta"Dia"Dia);
        
DOF2_SetInt(strconta"Hora"Hora);
        
DOF2_SetInt(strconta"Minuto"Minuto);
        
DOF2_SaveFile();
    }
    
SalvarConta(id);
    
Kick(id);
    return 
1;

ESTOU TENTANDO POR ESSE COMANDO DE BAN PARA SALVA EM DOF2 E NГO CONSIGO ALGUЙM ME AJUDA PFV
Reply


Messages In This Thread
Erros no GameMode - by henriqueTL - 03.08.2017, 21:57
Re: Erros no GameMode - by zCyan - 03.08.2017, 22:01
Re: Erros no GameMode - by henriqueTL - 03.08.2017, 22:02
Re: Erros no GameMode - by Relaxed - 03.08.2017, 22:06
Re: Erros no GameMode - by ScripitrFaunu - 03.08.2017, 22:07
Re: Erros no GameMode - by henriqueTL - 03.08.2017, 22:15
Re: Erros no GameMode - by Relaxed - 03.08.2017, 23:12
Re: Erros no GameMode - by MrEdu - 03.08.2017, 23:12
Re: Erros no GameMode - by henriqueTL - 03.08.2017, 23:29
Re: Erros no GameMode - by DelK - 03.08.2017, 23:36

Forum Jump:


Users browsing this thread: 1 Guest(s)