Voici les erreurs, d'où sa vient ? :
D:\Europa Games Community\RC4\gamemodes\EGC.pwn(10761) : error 017: undefined symbol "i"
D:\Europa Games Community\RC4\gamemodes\EGC.pwn(10761) : warning 205: redundant code: constant expression is zero
D:\Europa Games Community\RC4\gamemodes\EGC.pwn(10761) : error 017: undefined symbol "i"
D:\Europa Games Community\RC4\gamemodes\EGC.pwn(10761) : warning 215: expression has no effect
D:\Europa Games Community\RC4\gamemodes\EGC.pwn(10761) : error 001: expected token: ")", but found ";"
D:\Europa Games Community\RC4\gamemodes\EGC.pwn(10761) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
if(strcmp(subcmd, "defoncer", true) == 0 || strcmp(subcmd, "def", true) == 0)
{
if(!OnDuty[playerid])
{SendClientMessage(playerid, COLOR_POLICE, "[Police] Vous n'êtes pas en service."); return 1;}
new defoncee=false;
for(i = 0; i < totalhouses; i++)
{
if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
{
SendClientMessage(playerid, COLOR_POLICE, "[Police] Vous défoncez la porte!");
HouseInfo[i][hLock] = 0;
defoncee=true;
break;
}
}
if(!defoncee)
{SendClientMessage(playerid, COLOR_POLICE, "[Police] Vous n'êtes pas à l'entrée d'une maison !!");}
}