[Pomoc]Ovako

Započeo Ivkeee, Decembar 11, 2010, 20:43:12 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

D:\Ivan\Server\gamemodes\gf.pwn(118) : error 010: invalid function or declaration
D:\Ivan\Server\gamemodes\gf.pwn(232) : error 020: invalid symbol name ""
D:\Ivan\Server\gamemodes\gf.pwn(1833) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1837) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1849) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1853) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1857) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1861) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1865) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1869) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1873) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1885) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1889) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1893) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1897) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1901) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1913) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1917) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1921) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1933) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(1937) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(3852) : error 004: function "CrimInRange" is not implemented
D:\Ivan\Server\gamemodes\gf.pwn(4754) : error 004: function "ProxDetector" is not implemented
D:\Ivan\Server\gamemodes\gf.pwn(5442) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5448) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5454) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5460) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5466) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5472) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5480) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5488) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5496) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(5504) : warning 206: redundant test: constant expression is non-zero
D:\Ivan\Server\gamemodes\gf.pwn(6168) : error 017: undefined symbol "TaxValue"
D:\Ivan\Server\gamemodes\gf.pwn(6189) : error 017: undefined symbol "TaxValue"
D:\Ivan\Server\gamemodes\gf.pwn(6533) : warning 217: loose indentation
D:\Ivan\Server\gamemodes\gf.pwn(6534) : warning 217: loose indentation
D:\Ivan\Server\gamemodes\gf.pwn(6573) : error 037: invalid string (possibly non-terminated string)
D:\Ivan\Server\gamemodes\gf.pwn(6573) : error 029: invalid expression, assumed zero
D:\Ivan\Server\gamemodes\gf.pwn(6573) : error 017: undefined symbol "d"
D:\Ivan\Server\gamemodes\gf.pwn(6573) : fatal error 107: too many error messages on one line

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


10 Errors.

Evo linije :

118: forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
232: new Jackpot = 0;
3852:     {
4753: ProxDetector(30.0, Mobile[i], string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
6168: rval(arrCoords[3]);
6189:  fopen("stuff.ini", io_write);
6573: zadnja 3 errora : idx][bOwner],

evo :

forward SetupPlayerForClassSelection(playerid);
forward SetPlayerTeamFromClass(playerid,classid);
118: forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
forward CrimInRange(Float:radi, playerid,copid);
forward SendEnemyMessage(color, string[]);
forward SendTeamBeepMessage(team, color, string[]);
forward ABroadCast(color,const string[],level);



new Tax = 0;
new TaxValue = 0;
232: new Jackpot = 0;
new StartingPaintballRound = 0;
new AnnouncedPaintballRound = 0;
new PaintballPlayers = 0;

   if(newstate == PLAYER_STATE_WASTED)
{
if(WantedLevel[playerid] >= 1)
3852: {
    new price = WantedLevel[playerid] * 4000;
new count;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
    if(gTeam[i] == 2 && CrimInRange(30.0, playerid,i))
    {
count = 1;
format(string, sizeof(string), "~w~Running Suspect~r~Killed~n~Bonus~g~$%d", price);
GameTextForPlayer(i, string, 5000, 1);
ConsumingMoney[i] = 1;
GivePlayerMoney(i, price / 2);
PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
}
}
}
[code] new called[MAX_PLAYER_NAME];
GetPlayerName(Mobile[i], called, sizeof(called));
format(string, sizeof(string), "* %s's phone rings.", called);
RingTone[Mobile[i]] = 10;
4753: ProxDetector(30.0, Mobile[i], string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
}

fread(file, strFromFile2);
split(strFromFile2, arrCoords, ',');
Jackpot = strval(arrCoords[0]);
Tax = strval(arrCoords[1]);
TaxValue = strval(arrCoords[2]);
6168: Security = strval(arrCoords[3]);
fclose(file);
if(Security == 0 || Security == 1)
{
}
else
{
    GameModeExit();
}
}
else
{
    GameModeExit();
}
return 1;

public SaveStuff()
{
new coordsstring[256];
format(coordsstring, sizeof(coordsstring), "%d,%d,%d,%d", Jackpot,Tax,TaxValue,Security);
6189:new File: file2 = fopen("stuff.ini", io_write);
        fwrite(file2, coordsstring);
fclose(file2);
return 1;
}

Zadnja 3 errora :
                        BizzInfo[idx][bProducts] = strval(arrCoords[16]);
BizzInfo[idx][bMaxProducts] = strval(arrCoords[17]);
BizzInfo[idx][bPriceProd] = strval(arrCoords[18]);
printf("BizzInfo:%d Owner:%s Message:%s Entfee:%d Till:%d Products:%d/%d Interior:%d.\
idx,
6573: BizzInfo[idx][bOwner],
BizzInfo[idx][bMessage],
BizzInfo[idx][bEntranceCost],
BizzInfo[idx][bTill],
BizzInfo[idx][bProducts],
BizzInfo[idx][bMaxProducts],
BizzInfo[idx][bInterior]);
idx++;

[/code]