SA-MP Forums Archive
Errors for no reasons - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors for no reasons (/showthread.php?tid=628212)



Errors for no reasons - Krauser123 - 07.02.2017

It happens when you sometimes forget to put a "}" and you forget where exactly and when you try to compile you get random errors for no reasons, however I just want to know how to fix it ! I get these

Код:
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(528) : error 017: undefined symbol "CreateStaticProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(529) : error 017: undefined symbol "CreateStaticProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(530) : error 017: undefined symbol "CreateStaticProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(531) : error 017: undefined symbol "CreateStaticProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(532) : error 017: undefined symbol "CreateStaticProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(533) : error 017: undefined symbol "CreateStaticProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(537) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(538) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(539) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(540) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(541) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(542) : error 017: undefined symbol "CreateProgressBar"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(2779) : error 017: undefined symbol "IpLog"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(2784) : error 017: undefined symbol "SetSkills"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(3028) : error 017: undefined symbol "GetPlayerNameEx"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(3028) : error 033: array must be indexed (variable "name")
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(3025) : warning 203: symbol is never used: "playerid"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(3108) : error 017: undefined symbol "GetPlayerNameEx"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(3112) : error 017: undefined symbol "GetPlayerNameEx"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(3120) : error 017: undefined symbol "GetPlayerNameEx"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(3131) : error 017: undefined symbol "GetPlayerNameEx"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(6515) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(6516) : error 017: undefined symbol "GetVehicleName"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(6566) : error 004: function "PlayerActionMessageBubble" is not implemented
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(6772) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(6780) : error 017: undefined symbol "GiveBusinessTill"
C:\Users\Krauser\Desktop\Roleplay2\gamemodes\vwhrp1.pwn(6827) : error 017: undefined symbol "GivePlayerCash"



Re: Errors for no reasons - AndreiWow - 07.02.2017

Probably you are missing an include.


Re: Errors for no reasons - Krauser123 - 07.02.2017

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
Probably you are missing an include.
I've checked this ! and all the includes are working fine.


Re: Errors for no reasons - Logic_ - 07.02.2017

Using a leaked script won't let you get help.


Re: Errors for no reasons - Krauser123 - 07.02.2017

Quote:
Originally Posted by Logic_
Посмотреть сообщение
Using a leaked script won't let you get help.
I'm editing the gamemode that's it learning how to script and next time if you have an answer similar to this just keep it for yourself I asked for help If you can help me go ahead and answer If you can't, just b quite ^^


Re: Errors for no reasons - JesterlJoker - 07.02.2017

You'l be threading the needle for this though...

Place your whole script on notepad++ or sublime text 3

this text editors will somehow show lines for connected brackets. You'll be able to see which one is missing for like a couple of minutes depending on the size of your script.