Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Bane poslato Maj 17, 2012, 20:31:22 POSLE PODNE

Naslov: [Pomoc] 1 Warning
Poruka od: Bane poslato Maj 17, 2012, 20:31:22 POSLE PODNE
Skripta koju koristim:BL
Detaljan opis problema:
C:\Documents and Settings\user\My Documents\Downloads\f\Balkan live\blrp\blrp\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase

Header size:          13048 bytes
Code size:          2615464 bytes
Data size:          2772724 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4066 cells (16264 bytes)
Total requirements: 5417620 bytes

1 Warning.
Dio skripte:


public FishCost(playerid, fish)
{
if(IsPlayerConnected(playerid))
{
new cost = 0;
switch (fish)
{
    case 1:
    {
        cost = 1;
    }
    case 2:
    {
        cost = 3;
    }
    case 3:
    {
        cost = 3;
    }
    case 5:
    {
        cost = 5;
    }
    case 6:
    {
        cost = 2;
    }
    case 8:
    {
        cost = 8;
    }
    case 9:
    {
        cost = 12;
    }
    case 11:
    {
        cost = 9;
    }
    case 12:
    {
        cost = 7;
    }
    case 14:
    {
        cost = 12;
    }
    case 15:
    {
        cost = 9;
    }
    case 16:
    {
        cost = 7;
    }
    case 17:
    {
        cost = 7;
    }
    case 18:
    {
        cost = 10;
    }
    case 19:
    {
        cost = 4;
    }
    case 21:
    {
        cost = 3;
    }
}
return cost;
}
return 0;
}


pokusao sam na dosta nacina da sredim ovo ali nisam uspeo ako neko moze da mi pomogne UNAPRED HVALA !
Naslov: Odg: [Pomoc] 1 Warning
Poruka od: [BUN]Lukas poslato Maj 18, 2012, 12:08:26 POSLE PODNE
Waring pravi include JunkBuster.ini izbrisi taj i stavi drugi :D
Naslov: Odg: [Pomoc] 1 Warning
Poruka od: Bane poslato Maj 18, 2012, 15:34:16 POSLE PODNE
koji drugi stavljao sam neke ali nijedan nevalja  :)       
Naslov: Odg: [Pomoc] 1 Warning
Poruka od: [BUN]Lukas poslato Maj 18, 2012, 19:09:11 POSLE PODNE
Evo probaj ovaj; http://www.sendspace.com/file/yo9wju
Naslov: Odg: [Pomoc] 1 Warning
Poruka od: Bane poslato Maj 19, 2012, 13:17:59 POSLE PODNE
kad stavim ovaj tvoj dobijem Eror
C:\Documents and Settings\user\Desktop\f\Balkan live\blrp\blrp\pawno\include\JunkBuster.inc(54) : fatal error 100: cannot read from file: "Double-O-Files"
Naslov: Odg: [Pomoc] 1 Warning
Poruka od: Danijel96.pwn poslato Maj 19, 2012, 14:14:44 POSLE PODNE
nemas include, skini ga i ubaci u mapu pawno/include
Naslov: Odg: [Pomoc] 1 Warning
Poruka od: Bane poslato Maj 19, 2012, 14:31:56 POSLE PODNE
imam include ubacio sam ali mi opet izbacuje eror