Compiling errors (error 010)
#1

Here are the errors
pawn Код:
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8583) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8585) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8590) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8597) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8598) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8603) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8610) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8611) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8616) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8623) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8624) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8629) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8636) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8637) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8645) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8646) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8654) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8655) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8663) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8664) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8668) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8670) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8676) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8683) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8684) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8689) : error 021: symbol already defined: "SetPlayerVirtualWorld"

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


26 Errors.
and here are the codes
pawn Код:
// line 8581

switch(TutStep[playerid])
        {
                case 1:
                {
                TutStep[playerid] = 2;

                // Los Santos Bank (Camera)
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                Streamer_UpdateEx(playerid,1797.3397,-1578.3440,14.0798);
                SetPlayerPos(playerid,1797.3397,-1578.3440,-10.0);
                SetPlayerCameraPos(playerid,1832.1698,-1600.1538,32.2877);
                SetPlayerCameraLookAt(playerid,1797.3397,-1578.3440,14.0798);
               
                }
                case 2:
                {
                TutStep[playerid] = 3;

                // Los Santos ATM (Camera)
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                Streamer_UpdateEx(playerid,1295.6960,-1422.5111,14.9596);
                SetPlayerPos(playerid,1283.8524,-1385.5304,-10.0);
                SetPlayerCameraPos(playerid,1283.8524,-1385.5304,25.8896);
                SetPlayerCameraLookAt(playerid,1295.6960,-1422.5111,14.9596);
               
                }
                case 3:
                {
                TutStep[playerid] = 4;

                // Fishing Pier (Camera)
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                Streamer_UpdateEx(playerid,370.0804,-2087.8767,7.8359);
                SetPlayerPos(playerid,370.0804,-2087.8767,-10.0);
                SetPlayerCameraPos(playerid,423.3802,-2067.7915,29.8605);
                SetPlayerCameraLookAt(playerid,370.0804,-2087.8767,7.8359);

                }
                case 4:
                {
                TutStep[playerid] = 5;

                // Ganton Gym (Camera)
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                Streamer_UpdateEx(playerid,2229.4968,-1722.0701,13.5625);
                SetPlayerPos(playerid,2211.1460,-1748.3909,-10.0);
                SetPlayerCameraPos(playerid,2211.1460,-1748.3909,29.3744);
                SetPlayerCameraLookAt(playerid,2229.4968,-1722.0701,13.5625);
               
                }
                case 5:
                {
                TutStep[playerid] = 6;

                // Arms Dealer (Camera)
               
               
               
                }
                case 6:
                {
                TutStep[playerid] = 7;

                // Drugs Dealer (Camera)
               
               
               
                }
                case 7:
                {
                TutStep[playerid] = 8;

                // Drugs Smuggler (Camera)
               
               
               
                }
                case 8:
                {
                TutStep[playerid] = 9;
                }
                case 9:
                {
                for(new f = 2; f < 10; f++)
                {
                }
                TutStep[playerid] = 10;

                // LSPD (Camera)
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                Streamer_UpdateEx(playerid,1554.3381,-1675.5692,16.1953);
                SetPlayerPos(playerid,1514.7783,-1700.2913,-10.0);
                SetPlayerCameraPos(playerid,1514.7783,-1700.2913,36.7506);
                SetPlayerCameraLookAt(playerid,1554.3381,-1675.5692,16.1953);

                }
                case 10:
                {
                TutStep[playerid] = 11;

                // All Saints (Camera)
                SetPlayerVirtualWorld(playerid, 0); // line 8689
my friend gave me this code so i don't know these errors
Reply
#2

You are probably missing a "Bracket" somewhere.. What was the latest you added to your GM?
Reply
#3

You're missing a } somewhere. Search it, or show us the whole code and we'll help.
Reply
#4

I have these now
pawn Код:
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2928) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2935) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2942) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2951) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2965) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2972) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2976) : error 017: undefined symbol "GivePlayerCash"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2979) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2986) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2994) : error 017: undefined symbol "GivePlayerCash"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2997) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3004) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3011) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3019) : error 017: undefined symbol "ABroadCast"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3023) : error 017: undefined symbol "Log"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3025) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3034) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3044) : error 017: undefined symbol "Log"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3046) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3059) : error 017: undefined symbol "ABroadCast"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3063) : error 017: undefined symbol "Log"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3065) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3072) : error 017: undefined symbol "Log"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3077) : error 017: undefined symbol "ABroadCast"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3079) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3086) : error 017: undefined symbol "Log"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB Comp
Reply
#5

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
I have these now
pawn Код:
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2928) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2935) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2942) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2951) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2965) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2972) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2976) : error 017: undefined symbol "GivePlayerCash"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2979) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2986) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2994) : error 017: undefined symbol "GivePlayerCash"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(2997) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3004) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3011) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3019) : error 017: undefined symbol "ABroadCast"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3023) : error 017: undefined symbol "Log"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3025) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3034) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3044) : error 017: undefined symbol "Log"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3046) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3059) : error 017: undefined symbol "ABroadCast"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3063) : error 017: undefined symbol "Log"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3065) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3072) : error 017: undefined symbol "Log"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3077) : error 017: undefined symbol "ABroadCast"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3079) : error 017: undefined symbol "ProxDetector"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(3086) : error 017: undefined symbol "Log"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB Comp
You are now missing a closed brace "}". The first errors were caused for something else and in the most cases when it's something like this.
pawn Код:
if( x == 0 ) // You are missing an opened brace "{".
    // code;
}
Reply
#6

But these lines were working before and they didn't have errors but why now they got errors ?!?!?
Reply
#7

12 brackets openned
10 closed, i think here is the problem

watch for 2 missing closed brackets
Reply
#8

I tried "Bracket Finder" but i didn't find any missing brackets from the line "2928" till line "3086"
Reply
#9

The missing brace can be anywhere in your script. Use BracketFinder by iPLEO and you'll find where!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)