Skripta koju koristim:Moja skripta
Detaljan opis problema:Neznam da riješim ovaj problem:C:\Documents and Settings\Administrator\Desktop\SAMP 0.3d\pawno\include\JunkBuster.inc(3237) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
Dio skripte:-
Neke slike/video za lakse dobivanje pomoci(neobavezno):
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 = 5;
}
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;
}