SA-MP Forums Archive
Help with 2 errors - 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: Help with 2 errors (/showthread.php?tid=413570)



Help with 2 errors - TheEpicBraxton - 05.02.2013

Код:
C:\Users\customer\Desktop\Gta stuff\SAMP Servers\Utest\gamemodes\public.pwn(44) : error 029: invalid expression, assumed zero
C:\Users\customer\Desktop\Gta stuff\SAMP Servers\Utest\gamemodes\public.pwn(44) : error 008: must be a constant expression; assumed zero
Line 43-45
Код:
		{"Some airplanes parts have to be taken to Abandoned Airport",true,8000,-104.9665,-326.2715,1.1569,367.5729,2540.7354,17.1799},
};
main()
Idk how to fix this


Re: Help with 2 errors - SilverKiller - 05.02.2013

pawn Код:
{"Some airplanes parts have to be taken to Abandoned Airport",true,8000,-104.9665,-326.2715,1.1569,367.5729,2540.7354,17.1799}
Explanation: why is there , at the end of it if it is the end of them


Re: Help with 2 errors - TheEpicBraxton - 05.02.2013

Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
pawn Код:
{"Some airplanes parts have to be taken to Abandoned Airport",true,8000,-104.9665,-326.2715,1.1569,367.5729,2540.7354,17.1799}
Explanation: why is there , at the end of it if it is the end of them
Cause theres more under it.


Re: Help with 2 errors - SilverKiller - 05.02.2013

Yes, but you have }; at the end of this and i know there are others down (test my code if it works, correct me if im wrong :/)


Re: Help with 2 errors - TheEpicBraxton - 06.02.2013

Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
Yes, but you have }; at the end of this and i know there are others down (test my code if it works, correct me if im wrong :/)
Fixed it!