01.06.2014, 19:10
hello
i need help please , can you help me the fix this errors (
Line (1124 at (11255)
Full code:
Line Warning (11294)
Lines (23319) at (23323)
i need help please , can you help me the fix this errors (
Код:
D:\Documents and Settings\Administrateur\Mes documents\Downloads\Nouveau dossier\Booter\gamemodes\booterxd.pwn(11248) : warning 209: function "cmd_cionrde" should return a value D:\Documents and Settings\Administrateur\Mes documents\Downloads\Nouveau dossier\Booter\gamemodes\booterxd.pwn(11249) : error 010: invalid function or declaration D:\Documents and Settings\Administrateur\Mes documents\Downloads\Nouveau dossier\Booter\gamemodes\booterxd.pwn(11252) : error 010: invalid function or declaration D:\Documents and Settings\Administrateur\Mes documents\Downloads\Nouveau dossier\Booter\gamemodes\booterxd.pwn(11255) : error 010: invalid function or declaration D:\Documents and Settings\Administrateur\Mes documents\Downloads\Nouveau dossier\Booter\gamemodes\booterxd.pwn(11294) : warning 219: local variable "szMessage" shadows a variable at a preceding level D:\Documents and Settings\Administrateur\Documents\Downloads\New Folder\Srp\gamemodes\srp.pwn(23319) : error 010: invalid function or declaration D:\Documents and Settings\Administrateur\Documents\Downloads\New Folder\Srp\gamemodes\srp.pwn(23321) : error 010: invalid function or declaration D:\Documents and Settings\Administrateur\Documents\Downloads\New Folder\Srp\gamemodes\srp.pwn(23323) : error 010: invalid function or declaration D:\Documents and Settings\Administrateur\Documents\Downloads\New Folder\Srp\gamemodes\srp.pwn(29825) : warning 203: symbol is never used: "szMessage" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
Код:
}
pawn Код:
CMD:cionrde( playerid, params[] )
{
if(CiorditTimp[playerid] == 0)
{
new banili = random(1000) + 500;
new nume1[24],
nume2[24];
new string[128];
GetPlayerName(playerid, nume1, sizeof(nume1));
format(string, 128, "%s ti-a ciordit {228B22}${FFFFFF}%d din buzunar!", nume1, banili);
new ID, victima;
SCM(ID, -1, string);
format(string, 128, "I-ai ciordit lui %s {228B22}${FFFFFF}%d din buzunar!", nume2, banili);
SCM(playerid, -1, string);
SendClientMessage(playerid, COLOR_WHITE, string);
GivePlayerMoney(playerid, banili);
GivePlayerMoney(victima, -banili);
CiorditTimp[playerid] = 1;
SetTimerEx("ciordealatimp", 120000, false, "i", playerid);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nu e nimeni langa tine!");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Trebuie sa astepti 2 minute intre ciordiri!");
return 1;
}
}
return 1;
}
pawn Код:
new szMessage[256];
Lines (23319) at (23323)
pawn Код:
foreach(Player, i)
{
if(PlayerInfo[i][pAdminLevel] >= 1)
{
if(BigEars[i] == 1)