Help for errors and warnings -.- [+REP]
#1

Код:
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8970) : error 017: undefined symbol "ActiveEvent"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8977) : warning 213: tag mismatch
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8977) : warning 213: tag mismatch
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8977) : warning 213: tag mismatch
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8979) : warning 204: symbol is assigned a value that is never used: "EventWorld"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(8978) : warning 204: symbol is assigned a value that is never used: "EventInt"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(9000) : error 017: undefined symbol "ActiveEvent"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(9029) : error 017: undefined symbol "EventText"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(9029) : error 017: undefined symbol "EventText"
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(9029) : error 029: invalid expression, assumed zero
D:\games\Скинове О.О\Без гангове\gamemodes\gangwars.pwn(9029) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Lines 8970 - 8979

Код:
              if(ActiveEvent == 0)
                {
					new EventX;
					new EventY;
					new EventZ;
					new EventInt;
					new EventWorld;
                    GetPlayerPos(playerid, EventX, EventY, EventZ);
                    EventInt = GetPlayerInterior(playerid);
                    EventWorld = GetPlayerVirtualWorld(playerid);
                    SendClientMessage(playerid, COLOR_WHITE, "You have sucessfully adjusted the event position.");
                }
Lines 9000 - 9029

Код:
             if(ActiveEvent == 0)
                {
                    tmp = strtok(cmdtext, idx);
                    if(!strlen(tmp))
                    {
                        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /seteventinfo [name]");
                        SendClientMessage(playerid, COLOR_GRAD1, "Available names: Jointext, Health, Armor, Gun1, Gun2, Gun3, Gun4, Gun5");
                        return 1;
                    }
                    if(strcmp(tmp,"jointext",true) == 0)
                    {
                        new length = strlen(cmdtext);
                        while ((idx < length) && (cmdtext[idx] <= ' '))
                        {
                            idx++;
                        }
                        new offset = idx;
                        new result[128];
                        while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
                        {
                            result[idx - offset] = cmdtext[idx];
                            idx++;
                        }
                        result[idx - offset] = EOS;
                        if(!strlen(result))
                        {
                            SendClientMessage(playerid, COLOR_WHITE, "USAGE: /seteventinfo jointext [text]");
                            return 1;
                        }
                         format(EventText, sizeof(EventText), "%s", result);
Reply


Messages In This Thread
Help for errors and warnings -.- [+REP] - by pblbms - 19.09.2012, 18:36
Re: Help for errors and warnings -.- [+REP] - by RLGaming - 19.09.2012, 18:39
Re: Help for errors and warnings -.- [+REP] - by pblbms - 19.09.2012, 18:44
Re: Help for errors and warnings -.- [+REP] - by pblbms - 19.09.2012, 20:22
Re: Help for errors and warnings -.- [+REP] - by pblbms - 20.09.2012, 09:41
Re: Help for errors and warnings -.- [+REP] - by pblbms - 20.09.2012, 11:38
Re: Help for errors and warnings -.- [+REP] - by pblbms - 20.09.2012, 12:49
Re: Help for errors and warnings -.- [+REP] - by clarencecuzz - 20.09.2012, 12:51
Re: Help for errors and warnings -.- [+REP] - by pblbms - 20.09.2012, 13:01
Re: Help for errors and warnings -.- [+REP] - by clarencecuzz - 20.09.2012, 13:18

Forum Jump:


Users browsing this thread: 1 Guest(s)