C:\Documents and Settings\mauricio\Desktop\servermaurilio\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(181) : error 010: invalid function or declaration C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(256) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1283) : error 021: symbol already defined: "OnPlayerConnect" C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1291) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1437) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1454) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1472) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1515) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1737) : warning 203: symbol is never used: "LoadConfig" C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1737) : warning 203: symbol is never used: "String" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
return 1;
public OnPlayerDisconnect(playerid, reason)
{
if(GetPlayerLevel(playerid) == 100) {
ChaveServer = 0;
}
SalvarBD(playerid);
return 1;
}
salvardadosplayer(playerid);
return 1;
}
{
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0x007FFFAA,motd);
CriarBD();
CarregarBD(playerid);
new
file[68],
name[32],
string[128]
;
GetPlayerName(playerid, name, sizeof(name));
format(file,sizeof(file),"/sbadmin/Ban/%s.ini",name);
if(fexist(file)) {
new
Banidor1[32],
Motivo1[128],
Dia1,
Mes1,
Ano1
;
format(Banidor1,24,"%s", dini_Get(file,"Banidor"));
format(Motivo1 ,128,"%s", dini_Get(file,"Motivo"));
Dia1 = dini_Int(file,"Dia");
Mes1 = dini_Int(file,"Mкs");
Ano1 = dini_Int(file,"Ano");
SendClientMessage(playerid,COLOR_GREEN,"==============================================================");
format(string, sizeof(string), "Nick: %s - Banido -",name);
SendClientMessage(playerid,0xFFCC00AA,string);
format(string, sizeof(string), "Por: %s",Banidor1);
SendClientMessage(playerid,0xFFCC00AA,string);
format(string, sizeof(string), "Motivo: %s",Motivo1);
SendClientMessage(playerid,0xFFCC00AA,string);
format(string, sizeof(string), "Data: %d/%d/%d",Dia1, Mes1, Ano1);
SendClientMessage(playerid,0xFFCC00AA,string);
SendClientMessage(playerid,0xFFCC00AA,"Se vocк quer justificar seu ban, visite o forum e peзa ajuda.");
SendClientMessage(playerid,COLOR_GREEN,"==============================================================");
Kick(playerid);
}
if(ChaveServer == 1) {
Kick(playerid);
SendClientMessage(playerid,0x007FFFAA,"Admin: O Servidor estб fechado e vocк foi kickado!");
}
return 1;
}
C:\Documents and Settings\mauricio\Desktop\servermaurilio\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level //tem um 'new string...' porйm ja tem isto em uma linha anterior e nгo da pra ter 2 variaves com msm nome
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(181) : error 010: invalid function or declaration//nao й a return, manda o codigo inteiro
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(256) : warning 219: local variable "string" shadows a variable at a preceding level //tem um 'new string...' porйm ja tem isto em uma linha anterior e nгo da pra ter 2 variaves com msm nome
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1283) : error 021: symbol already defined: "OnPlayerConnect"//Vocк tem 2 publics OnPlayerConnect()
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1291) : warning 219: local variable "string" shadows a variable at a preceding level//tem um 'new string...' porйm ja tem isto em uma linha anterior e nгo da pra ter 2 variaves com msm nome
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1437) : warning 219: local variable "string" shadows a variable at a preceding level//tem um 'new string...' porйm ja tem isto em uma linha anterior e nгo da pra ter 2 variaves com msm nome
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1454) : warning 219: local variable "string" shadows a variable at a preceding level//tem um 'new string...' porйm ja tem isto em uma linha anterior e nгo da pra ter 2 variaves com msm nome
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1472) : warning 219: local variable "string" shadows a variable at a preceding level//tem um 'new string...' porйm ja tem isto em uma linha anterior e nгo da pra ter 2 variaves com msm nome
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1515) : warning 219: local variable "string" shadows a variable at a preceding level//tem um 'new string...' porйm ja tem isto em uma linha anterior e nгo da pra ter 2 variaves com msm nome
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1737) : warning 203: symbol is never used: "LoadConfig"//tem um 'new LoadConfig...' q nao й usado nunca.
C:\Documents and Settings\mauricio\Desktop\bpl\gamemodes\Gminicio.pwn(1737) : warning 203: symbol is never used: "String"//Vocк tem um 'new String...' que nao й usado nunca.
public OnPlayerDisconnect(playerid, reason)
{
if(GetPlayerLevel(playerid) == 100) {
ChaveServer = 0;
}
SalvarBD(playerid);
salvardadosplayer(playerid);
return true;
}
public OnPlayerDisconnect(playerid, reason)
{
if(GetPlayerLevel(playerid) == 100) {
ChaveServer = 0;
}
SalvarBD(playerid);
salvardadosplayer(playerid);
return 1;
}
public OnPlayerDisconnect(playerid, reason) { if(GetPlayerLevel(playerid) == 100) { ChaveServer = 0; } SalvarBD(playerid); salvardadosplayer(playerid); return 1; }
Gm facil, faзam para mim! |
Код:
public OnPlayerDisconnect(playerid, reason) { if(GetPlayerLevel(playerid) == 100) { ChaveServer = 0; } SalvarBD(playerid); salvardadosplayer(playerid); return 1; } |