[Pomoc]Error

Započeo panameR., Novembar 17, 2010, 16:57:08 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

evo imam jedan error pa jel mi moze ko pomoc da ga se rijesim C:\Documents and Settings\Valentic PC\Desktop\New Folder (4)\BlodZ's RolePlay\gamemodes\blodZ.pwn(11678) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size:           9668 bytes
Code size:          1732552 bytes
Data size:          5525748 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4123 cells (16492 bytes)
Total requirements: 7284352 bytes

1 Warning.
Respect: $--L84S--$, ναηιâ,,"â,,"α , BloodMaster , LuxZillo, Don_Sergio, ExtremePower, Gotti747, Gagi_

to je warning to nesmeta i pogledaj si 11678 liniju kod nje je nešto....

Citat: CH|Duva poslato Novembar 17, 2010, 16:59:27 POSLE PODNE
to je warning to nesmeta i pogledaj si 11678 liniju kod nje je nešto....
e jesi mu dao objasnjenje mati moja..

Evo kopiro sam malo ne samo ovaj red nego i vise pa ako mozes rijesit  if(strcmp(cmd,"/barrier", true) == 0)
   {
   if(PlayerToPoint(5,playerid,63.0148,-1524.9260,4.9184))
       {
       if(PlayerInfo[playerid][pPassportLic] == 1)
           {
    MoveStreamObject(vama1,54.190098, -1529.675781, 5.085436, 2.5);
               MoveStreamObject(vama2,52.703281, -1540.749634, 5.067452, 2.5);
           MoveStreamObject(vama1,54.231167, -1529.687012, 9.320637, 3.5);
               GivePlayerMoney(playerid, - 2000);
               SetTimer("GateClosse", 4000, 0);
               SendClientMessage(playerid, COLOR_WHITE,"The barrier is now open, and will be closed in 4 seconds !");


Sve bi to bilo u redu ...ali ja sad udem na server i neradi nijedna komanda pa jel moze pomoc  ;D
Poslednja Izmena: Novembar 17, 2010, 17:08:32 POSLE PODNE od Vedran_Valentic
Respect: $--L84S--$, ναηιâ,,"â,,"α , BloodMaster , LuxZillo, Don_Sergio, ExtremePower, Gotti747, Gagi_

Citat: mafica poslato Novembar 17, 2010, 17:02:22 POSLE PODNE
Citat: CH|Duva poslato Novembar 17, 2010, 16:59:27 POSLE PODNE
to je warning to nesmeta i pogledaj si 11678 liniju kod nje je nešto....
e jesi mu dao objasnjenje mati moja..
Sta ima da mu objasnjava?? Warninzi nece toliko smetati u radnji servera i gamemoda

ali gledaj meni neradi nijedna komanda :S neznam sta da napravim
Respect: $--L84S--$, ναηιâ,,"â,,"α , BloodMaster , LuxZillo, Don_Sergio, ExtremePower, Gotti747, Gagi_

Ne pametujte, warninzi nekada mogu uticati na rad čitavog gm-a.

Vedrane, daj tu čitavu komandu, i tačno naglasi koji je to red.
Povratak na balkan-samp  :)  15.01.2013. 
..   


Respect : [BP]HeLoX, Correlli, [CH:FR]Djea, LordShigi, LuKsA, BloodMaster, [H]265

Citat: AlÑ"Ñ"N MÑ"кA. poslato Novembar 17, 2010, 17:18:05 POSLE PODNE
Ne pametujte, warninzi nekada mogu uticati na rad čitavog gm-a.

Vedrane, daj tu čitavu komandu, i tačno naglasi koji je to red.
vidis da sam u pravu ;D

public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new playername[MAX_PLAYER_NAME];
new cmd[256];
new tmp[256];
new giveplayerid, moneys, idx;
cmd = strtok(cmdtext, idx);
dcmd(fevent, 6, cmdtext);
if (strcmp("/randomfevent", cmdtext, true, 9) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 4)
{
SendClientMessage(playerid,0x33AA33AA,"You have forced a new fevent.");
    ReactionTest();
    return 1;
}
else return 0;
}
{
if (strcmp("/parking", cmdtext, true, 10) == 0)
{
DestroyObject(rampa);
rampa = CreateObject(968, 832.41015625, -2066.2265625, 12.557187080383, 0, 0, 0);
SetTimer("zatvori", 5000, 0);
SendClientMessage(playerid,ZELENO,"Dobrodosli na ");
SendClientMessage(playerid,ZELENO,"Placa se 500$");
GivePlayerMoney(playerid,-500);
return 1;
}

if (strcmp("/parkingizlaz", cmdtext, true, 10) == 0)
{
DestroyObject(rampa2);
rampa2 = CreateObject(968, 840.1865234375, -2066.1728515625, 12.710700035095, 0, 0, 1.1480712890625);
SetTimer("zatvori", 5000, 0);
SendClientMessage(playerid,ZELENO,"Izlazite iz parkinga ");
return 1;
}

return 0;
}
    if(strcmp(cmd,"/barrier", true) == 0)
eto pomozi
Respect: $--L84S--$, ναηιâ,,"â,,"α , BloodMaster , LuxZillo, Don_Sergio, ExtremePower, Gotti747, Gagi_

1. Nisi me poslušao uopšte.
2. KažeÅ¡ da ti je warrning u komandi toj /barrier, Å¡to si mi onda dao sve osim nje  :S 
Povratak na balkan-samp  :)  15.01.2013. 
..   


Respect : [BP]HeLoX, Correlli, [CH:FR]Djea, LordShigi, LuKsA, BloodMaster, [H]265

Evo od tog 11678 do 11751 reda     if(strcmp(cmd,"/barrier", true) == 0)
    {
    if(PlayerToPoint(5,playerid,63.0148,-1524.9260,4.9184))
        {
        if(PlayerInfo[playerid][pPassportLic] == 1)
            {
    MoveStreamObject(vama1,54.190098, -1529.675781, 5.085436, 2.5);
                MoveStreamObject(vama2,52.703281, -1540.749634, 5.067452, 2.5);
            MoveStreamObject(vama1,54.231167, -1529.687012, 9.320637, 3.5);
                GivePlayerMoney(playerid, - 2000);
                SetTimer("GateClosse", 4000, 0);
                SendClientMessage(playerid, COLOR_WHITE,"The barrier is now open, and will be closed in 4 seconds !");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_DBLUE, "* You don't have an Passport, go in the City Hall and buy one.");
return 1;
}
}
else if(PlayerToPoint(5,playerid,43.9277,-1540.1890,5.2053))
    {
    if(PlayerInfo[playerid][pPassportLic] == 1)
        {
    MoveStreamObject(vama2,52.695782, -1540.765869, 9.255125, 3.5);
                    GivePlayerMoney(playerid, - 2000);
                    SetTimer("GateClosse", 4000, 0);
                    SendClientMessage(playerid, COLOR_WHITE,"The barrier is now open, and will be closed in 4 seconds !");
    return 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_WHITE, "* You don't have an Passport, go in the City Hall and buy one.");
    return 1;
    }
}
else if(PlayerToPoint(5,playerid,1734.4246,548.4321,26.5624))
    {
    if(PlayerInfo[playerid][pPassportLic] == 1)
        {
    MoveStreamObject(vama3, 1735.363892, 541.511719, 23.052874, 3.5);
                    GivePlayerMoney(playerid, - 2000);
                SetTimer("GateClossse", 4000, 0);
                    SendClientMessage(playerid, COLOR_WHITE,"The barrier is now open, and will be closed in 4 seconds !");
    return 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_WHITE, "* You don't have an Passport, go in the City Hall and buy one.");
    return 1;
    }
}
else if(PlayerToPoint(5,playerid,1752.8773,524.2502,27.5999))
    {
    if(PlayerInfo[playerid][pPassportLic] == 1)
        {
    MoveStreamObject(vama4, 1752.032959, 534.572021, 23.052874, 3.5);
                    GivePlayerMoney(playerid, - 2000);
                SetTimer("GateClossse", 4000, 0);
                    SendClientMessage(playerid, COLOR_WHITE,"The barrier is now open, and will be closed in 4 seconds !");
    return 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_WHITE, "* You don't have an Passport, go in the City Hall and buy one.");
    return 1;
    }
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "You aren't at Barrier Icon !");
return 1;
}
}
Respect: $--L84S--$, ναηιâ,,"â,,"α , BloodMaster , LuxZillo, Don_Sergio, ExtremePower, Gotti747, Gagi_