23.02.2014, 18:37
Код:
C:\Documents and Settings\Administrador\Desktop\BWC\gamemodes\BWC.pwn(18236) : error 030: compound statement not closed at the end of file (started at line 18224) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
public favelis() { for (new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerConnected(i)) { //======================= Favela ========================== if(IsPlayerInPlace(i,2016.010986, -1161.922363, 2324.010986, -923.518310)) { EntrouFavela[i] = 1; if(EntrouFavela[1] == 1) { DMLiberado2[i] = 1; GangZoneFlashForAll(favela,0xFFFFFFAA); GameTextForPlayer(i,"DM Liberado",1000,1); GivePlayerWeapon(i, 24, 999); GivePlayerWeapon(i, 9, 1); GivePlayerWeapon(i, 25, 999); GivePlayerWeapon(i, 26, 999); GivePlayerWeapon(i, 30, 999); GivePlayerWeapon(i, 32, 999); EntrouFavela[i] = 0; } else { if(DMLiberado2[i] == 1) { if(SaiuFavela[i] == 1) { DMLiberado2[i] = 0; GangZoneStopFlashForAll(favela); ResetPlayerWeapons(i); SaiuFavela[i] = 0; } }