[POMOC] Undefined symbol "i"

Započeo [VG] Moren0, Oktobar 01, 2011, 14:28:23 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Moj Mod
Detaljan opis problema: e imam nekih problema pri Compile-u idem copile i izbaci mi 26 errora
Dio skripte: C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13687) : error 029: invalid expression, assumed zero
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13687 -- 13688) : warning 215: expression has no effect
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13688) : error 001: expected token: ";", but found "if"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13805) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13807) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13809) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13811) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13812) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13813) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13815) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13816) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13819) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13821) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13822) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13823) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13824) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13825) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13826) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13827) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13828) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13831) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13833) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13834) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13836) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13838) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13839) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13841) : error 017: undefined symbol "i"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
eto to su errori a evo i dio odakle pocinju errori..
public SetPlayerUnjail()
{
oglasvrijeme --; RatnoVrijeme--;
new plname[MAX_PLAYER_NAME];
new string[128];
if(PaintballPlayers >= 2 && PaintballRound != 1 && StartingPaintballRound != 1)
{
StartingPaintballRound = 1;
    SetTimer("PreparePaintball", 15000, 0);
}
if(KartingPlayers >= 2 && KartingRound != 1 && StartingKartRound != 1)
{
    StartingKartRound = 1;
    SetTimer("PrepareKarting", 15000, 0);
}
if(KartingRound != 0 && KartingPlayers < 2)
{
    StartingKartRound = 0;
    KartingRound = 0;
    EndingKartRound = 1;
}


for( new i = 0; i < MAX_PLAYERS; i++ )
    {

    if(IsPlayerConnected(i))
    //TextDrawShowForPlayer(i, vrijemeig);
/* if(IsPlayerInAnyVehicle(i) && GetPlayerState(i) == PLAYER_STATE_DRIVER)
{
new Float:speed_x,Float:speed_y,Float:speed_z,Float:final_speed,final_speed_int;
TextDrawShowForPlayer(i, SpeedoLogo[i]);
GetVehicleVelocity(GetPlayerVehicleID(i),speed_x,speed_y,speed_z);
final_speed = floatsqroot(((speed_x*speed_x)+(speed_y*speed_y))+(speed_z*speed_z))*136.666667;
final_speed_int = floatround(final_speed,floatround_round);
new stringe[128];
format(stringe,sizeof(stringe),"~b~Brzina:~r~ %i kmh",final_speed_int);
TextDrawSetString(SpeedoBrzina[i], stringe);

format(stringe,sizeof(stringe),"~b~Brzina:~r~ %i kmh",final_speed_int);
TextDrawSetString(SpeedoBrzina1[i], stringe);

new Float:CHealth, veh;
veh = GetPlayerVehicleID(i);
GetVehicleHealth(veh, CHealth);
new vHealth, string1[128];

vHealth = floatround((CHealth/10), floatround_floor);
format(string1,sizeof(string1),"~y~HP:~g~ %i%", vHealth)
TextDrawShowForPlayer(i, SpeedoHP[i]);
TextDrawSetString(SpeedoHP[i], string1);
new string2[128], string3[128];

format(string2,sizeof(string2),"~r~Vozilo:~b~%s",LVehiclesName[GetVehicleModel(veh)-400]);
TextDrawSetString(SpeedoVozilo[i], string2);
if(!IsABike(veh))
{
format(string3,sizeof(string3),"~b~Gorivo:~g~%i%",Gas[veh]);
TextDrawSetString(SpeedoGorivo[i], string3);
}
else
{
format(string3,sizeof(string3),"~b~Gorivo:~r~Nema");
TextDrawSetString(SpeedoGorivo[i], string3);
}*/
}
if(IsPlayerConnected(i) && GetPlayerSpecialAction(i) == 2)
{
SCM(i, COLOR_TOMATO, "Ne smijes koristiti Jetpack!");
Kick(i);
}
if(PlayerInfo[i][pMuted] == 1)
{
PlayerInfo[i][pMuteTime]--;
format(string, sizeof(string), "~r~Mute vrijeme:~b~%d sec", PlayerInfo[i][pMuteTime]);
TextDrawSetString(MuteVrijeme[i], string);
//TextDrawShowForPlayer(i, MuteVrijeme[i]);
}
if(PlayerInfo[i][pMuteTime] <= 0)
{
    PlayerInfo[i][pMuteTime] = 0;
PlayerInfo[i][pMuted] = 0;
DeletePlayer3DTextLabel(i, playertextid5);
TextDrawHideForPlayer(i, MuteVrijeme[i]);TextDrawDestroy(MuteVrijeme[i]);

}

AreaCheck(i);
new newcar = GetPlayerVehicleID(i);


if(GetPVarInt(i, "Ratuje") == 1 && RatnoVrijeme != 0)
{

format(string, sizeof(string), "~g~Preostalo vrijeme:~b~%d sec", RatnoVrijeme);
TextDrawSetString(preostalovrijeme,string);
format(string, sizeof(string), "~r~Crveni tim:~b~%d", crvenitimkills);
TextDrawSetString(crvenitim, string);
format(string, sizeof(string), "~r~Plavi tim:~b~%d", plavitimkills);
TextDrawSetString(plavitim, string);
}
if(GetPVarInt(i, "Ratuje") == 1 && RatnoVrijeme <= 0)
{
DeletePlayer3DTextLabel(i, ratnitext1);DeletePlayer3DTextLabel(i, ratnitext2);SetPVarInt(i, "Tim1", 0);SetPVarInt(i, "Tim2", 0);
SetPVarInt(i, "Ratuje", 0); ResetPlayerWeapons(i); SpawnPlayer(i); TextDrawHideForPlayer(i, ratnaz);
TextDrawHideForPlayer(i, preostalovrijeme);TextDrawHideForPlayer(i, crvenitim);TextDrawHideForPlayer(i, plavitim);
}
    if(PlayerInfo[i][pJailed] > 0)
    {
if(PlayerInfo[i][pJailTime] > 0 && WantLawyer[i] == 0)
{
PlayerInfo[i][pJailTime]--;

format(string, sizeof(string), "~r~Pritvor:~b~ %d sec", PlayerInfo[i][pJailTime]);
TextDrawSetString(pritvorvrijeme[i], string);

}
if(PlayerInfo[i][pJailTime] <= 0 && WantLawyer[i] == 0)
{
    PlayerInfo[i][pJailTime] = 0;
if(PlayerInfo[i][pJailed] == 1)
{
SetPlayerPos(i,1552.4223632813,-1675.6357421875,16.1953125);
//SetPlayerWorldBounds(i,20000.0000,-20000.0000,20000.0000,-20000.0000); //Reset world to player
SetPlayerInterior(i, 0);
TextDrawHideForPlayer(i, pritvorvrijeme[i]);TextDrawDestroy(pritvorvrijeme[i]);
}
else if(PlayerInfo[i][pJailed] == 2)
{
    //SetPlayerWorldBounds(i,20000.0000,-20000.0000,20000.0000,-20000.0000); //Reset world to player
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, 1552.4223632813,-1675.6357421875,16.1953125);

}
PlayerInfo[i][pJailed] = 0;TextDrawHideForPlayer(i, pritvorvrijeme[i]);TextDrawDestroy(pritvorvrijeme[i]);
SendClientMessage(i, COLOR_GRAD1,"   Platio si svoj dug drustvu.");
format(string, sizeof(string), "~g~Sloboda~n~~w~Pokusaj biti bolji gradjanin");
//SetPlayerWorldBounds(i,20000.0000,-20000.0000,20000.0000,-20000.0000); //Reset world to player
SetPlayerInterior(i, 0);
SetPlayerPos(giveplayerid,1552.4223632813,-1675.6357421875,16.1953125);
GameTextForPlayer(i, string, 5000, 1);

if(gTeam[i] == 4) { gTeam[i] = 3; }
ClearCrime(i);
SetPlayerToTeamColor(i);
}
}
if(GetPlayerCash(i) - CurrentMoney[i] >= 50000 && PlayerInfo[i][pAdmin] < 1)
    {
        if(ConsumingMoney[i])
        {
                    CurrentMoney[i] = GetPlayerCash(i);
ConsumingMoney[i] = 0;
        }
        else
        {
        GetPlayerName(i, plname, sizeof(plname));
        format(string, 256, "Upozorenje: [%d]%s je upravo stvorio preko 50000$ odjednom!",i,plname);
ABroadCast(COLOR_YELLOW,string,1);
PayLog(string);
        CurrentMoney[i] = GetPlayerCash(i);
        }
    }
    else
    {
        CurrentMoney[i] = GetPlayerCash(i);
    }
    if(IsABoat(newcar))
{
    if(PlayerInfo[i][pBoatLic] < 1 && GetPlayerState(i) == 2)
{
    RemovePlayerFromVehicle(i);
}
}
if(UsedFind[i] >= 1)
    {
      UsedFind[i] += 1;
if(UsedFind[i] >= 120)
{
    UsedFind[i] = 0;
}
  }
}
if(MedicTime[i] > 0)
{
    if(MedicTime[i] == 3)
    {
        SetPlayerInterior(i, 5);
        new Float:a, Float:bc, Float:c;
        GetPlayerPos(i, a,bc,c);
        SetPlayerCameraPos(i, a+ 3, bc, c);
        SetPlayerCameraLookAt(i,a,bc,c);
    }
    MedicTime[i] ++;
    if(MedicTime[i] >= NeedMedicTime[i])
    {
new cut = deathcost; //PlayerInfo[playerid][pLevel]*deathcost;
GivePlayerCash(i, -cut);
format(string, sizeof(string), "Doktor: Vas lijecnicki racun dostize %d$. Ugodan dan vam zelim!.", cut);
SendClientMessage(i, TEAM_CYAN_COLOR, string);
TogglePlayerControllable(i, 1);
        MedicBill[i] = 0;
        MedicTime[i] = 0;
        NeedMedicTime[i] = 0;
        PlayerInfo[i][pDeaths] += 1;
        PlayerFixRadio(i);
        SpawnPlayer(i);
    }
}
if(WantLawyer[i] >= 1)
{
    CallLawyer[i] = 111;
    if(WantLawyer[i] == 1)
{
    SendClientMessage(i, COLOR_LIGHTRED, "Da li zelite advokata? (Koristite da ili ne)");
}
WantLawyer[i] ++;
if(WantLawyer[i] == 8)
{
    SendClientMessage(i, COLOR_LIGHTRED, "Da li zelite advokata? (Koristite da ili ne)");
}
            if(WantLawyer[i] == 15)
{
    SendClientMessage(i, COLOR_LIGHTRED, "Do you want a Lawyer? (Type yes or no)");
}
if(WantLawyer[i] == 20)
{
    SendClientMessage(i, COLOR_LIGHTRED, "There is no Lawyer available to you anymore, Jail Time started.");
    WantLawyer[i] = 0;
    CallLawyer[i] = 0;
}
}
if(PlayerTazeTime[i] >= 1)
{
    PlayerTazeTime[i] += 1;
    if(PlayerTazeTime[i] == 15)
    {
                    PlayerTazeTime[i] = 0;
    }
    else
    {
        new Float:angle;
GetPlayerFacingAngle(i, angle);
SetPlayerFacingAngle(i, angle + 20);
    }
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):

nisam baš najbolje pregledao ali mislim da ti fali jedna "}" zagrada na kraju..

e izbriso sam ono gorivo i brzina i sad imam 26 errora opet C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13766) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13768) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13770) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13772) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13773) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13774) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13776) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13777) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13780) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13782) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13783) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13784) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13785) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13786) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13787) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13788) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13789) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13792) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13794) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13795) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13797) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13799) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13800) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13802) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13804) : error 017: undefined symbol "i"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13806) : error 017: undefined symbol "i"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

i evo ponovo drugaciji dio sad vam je lakse valjda :
for( new i = 0; i < MAX_PLAYERS; i++ )
    {

   
if(IsPlayerConnected(i) && GetPlayerSpecialAction(i) == 2)
{
SCM(i, COLOR_TOMATO, "Ne smijes koristiti Jetpack!");
Kick(i);
}
if(PlayerInfo[i][pMuted] == 1)
{
PlayerInfo[i][pMuteTime]--;
format(string, sizeof(string), "~r~Mute vrijeme:~b~%d sec", PlayerInfo[i][pMuteTime]);
TextDrawSetString(MuteVrijeme[i], string);
//TextDrawShowForPlayer(i, MuteVrijeme[i]);
}
if(PlayerInfo[i][pMuteTime] <= 0)
{
    PlayerInfo[i][pMuteTime] = 0;
PlayerInfo[i][pMuted] = 0;
DeletePlayer3DTextLabel(i, playertextid5);
TextDrawHideForPlayer(i, MuteVrijeme[i]);TextDrawDestroy(MuteVrijeme[i]);

}

AreaCheck(i);
new newcar = GetPlayerVehicleID(i);


na ovo sam mislio.. probaj ubacit  :)
for( new i = 0; i < MAX_PLAYERS; i++ )
    {

   
if(IsPlayerConnected(i) && GetPlayerSpecialAction(i) == 2)
{
SCM(i, COLOR_TOMATO, "Ne smijes koristiti Jetpack!");
Kick(i);
}
if(PlayerInfo[i][pMuted] == 1)
{
PlayerInfo[i][pMuteTime]--;
format(string, sizeof(string), "~r~Mute vrijeme:~b~%d sec", PlayerInfo[i][pMuteTime]);
TextDrawSetString(MuteVrijeme[i], string);
//TextDrawShowForPlayer(i, MuteVrijeme[i]);
}
if(PlayerInfo[i][pMuteTime] <= 0)
{
    PlayerInfo[i][pMuteTime] = 0;
PlayerInfo[i][pMuted] = 0;
DeletePlayer3DTextLabel(i, playertextid5);
TextDrawHideForPlayer(i, MuteVrijeme[i]);TextDrawDestroy(MuteVrijeme[i]);

}

AreaCheck(i);
new newcar = GetPlayerVehicleID(i);
}

Citat: Marijo B. - K4[Я]!K3â,,¢ poslato Oktobar 01, 2011, 15:19:51 POSLE PODNE
na ovo sam mislio.. probaj ubacit  :)
for( new i = 0; i < MAX_PLAYERS; i++ )
    {

   
if(IsPlayerConnected(i) && GetPlayerSpecialAction(i) == 2)
{
SCM(i, COLOR_TOMATO, "Ne smijes koristiti Jetpack!");
Kick(i);
}
if(PlayerInfo[i][pMuted] == 1)
{
PlayerInfo[i][pMuteTime]--;
format(string, sizeof(string), "~r~Mute vrijeme:~b~%d sec", PlayerInfo[i][pMuteTime]);
TextDrawSetString(MuteVrijeme[i], string);
//TextDrawShowForPlayer(i, MuteVrijeme[i]);
}
if(PlayerInfo[i][pMuteTime] <= 0)
{
    PlayerInfo[i][pMuteTime] = 0;
PlayerInfo[i][pMuted] = 0;
DeletePlayer3DTextLabel(i, playertextid5);
TextDrawHideForPlayer(i, MuteVrijeme[i]);TextDrawDestroy(MuteVrijeme[i]);

}

AreaCheck(i);
new newcar = GetPlayerVehicleID(i);
}



e to sam uradio i imam opet 4 errora  :'(...
C:\Users\ADMIN\Desktop\saf\pawno\include\utils.inc(3) : warning 219: local variable "j" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\pawno\include\xFireworks.inc(110) : warning 219: local variable "a" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(7169) : warning 219: local variable "cut" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13008) : warning 219: local variable "j" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13060) : warning 219: local variable "c" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13087) : warning 219: local variable "c" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13160) : warning 219: local variable "c" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13190) : warning 219: local variable "a" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13200) : warning 219: local variable "j" shadows a variable at a preceding level
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13671) : warning 204: symbol is assigned a value that is never used: "newcar"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13625) : warning 204: symbol is assigned a value that is never used: "plname"
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13625 -- 13681) : error 010: invalid function or declaration
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13625 -- 13687) : error 010: invalid function or declaration
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13625 -- 13689) : error 010: invalid function or declaration
C:\Users\ADMIN\Desktop\saf\gamemodes\a.pwn(13625 -- 13689) : 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.



odavde pocinje :
new plname[MAX_PLAYER_NAME];
new string[128];
if(PaintballPlayers >= 2 && PaintballRound != 1 && StartingPaintballRound != 1)
{
StartingPaintballRound = 1;
    SetTimer("PreparePaintball", 15000, 0);
}
if(KartingPlayers >= 2 && KartingRound != 1 && StartingKartRound != 1)
{
    StartingKartRound = 1;
    SetTimer("PrepareKarting", 15000, 0);
}
if(KartingRound != 0 && KartingPlayers < 2)
{
    StartingKartRound = 0;
    KartingRound = 0;
    EndingKartRound = 1;
}


for( new i = 0; i < MAX_PLAYERS; i++ )
    {


                if(IsPlayerConnected(i) && GetPlayerSpecialAction(i) == 2)
{
SCM(i, COLOR_TOMATO, "Ne smijes koristiti Jetpack!");
Kick(i);
}
if(PlayerInfo[i][pMuted] == 1)
{
PlayerInfo[i][pMuteTime]--;
format(string, sizeof(string), "~r~Mute vrijeme:~b~%d sec", PlayerInfo[i][pMuteTime]);
TextDrawSetString(MuteVrijeme[i], string);
//TextDrawShowForPlayer(i, MuteVrijeme[i]);
}
if(PlayerInfo[i][pMuteTime] <= 0)
{
    PlayerInfo[i][pMuteTime] = 0;
PlayerInfo[i][pMuted] = 0;
DeletePlayer3DTextLabel(i, playertextid5);
TextDrawHideForPlayer(i, MuteVrijeme[i]);TextDrawDestroy(MuteVrijeme[i]);

}

AreaCheck(i);
new newcar = GetPlayerVehicleID(i);
}

local variable "c" shadows a variable at a preceding level
znaci da ti je vec ispred definirano samo obrisi...