SA-MP Forums Archive
Errors, please help! - 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, please help! (/showthread.php?tid=382711)



Errors, please help! - Vinninho - 04.10.2012

Hello everyone, I'm facing big problems with my script...

Here are the error lines:
Код:
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(5077) : error 029: invalid expression, assumed zero
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(5077) : warning 215: expression has no effect
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(5109) : error 029: invalid expression, assumed zero
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(5109) : warning 215: expression has no effect
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(5139) : error 029: invalid expression, assumed zero
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(5139) : warning 215: expression has no effect
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(20286) : error 001: expected token: "-identifier-", but found "-integer value-"
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(20286) : error 022: must be lvalue (non-constant)
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(20286) : warning 215: expression has no effect
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(20286) : error 001: expected token: ";", but found ")"
C:\Users\Vinay\Desktop\Next Generation Roleplay\gamemodes\aaron.pwn(20286) : fatal error 107: too many error messages on one line

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


7 Errors.
And here are the lines:

5077:
Код:
			Audio_SetPosition(playerid, 0, seek);
5109:
Код:
					Audio_SetPosition(i, localhandle, seek);
5139:
Код:
					Audio_SetPosition(i, localhandle, seek);
20286:
Код:
	HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .streamdistance = 30.0);
** Note **:
The scripter is currently on holiday, so I could't ask him about these bugs.


Thank you in advance!


Re: Errors, please help! - CmZxC - 04.10.2012

Please give us the whole function, not just pieces of it.
Sometimes the PAWN compiler is not accurate about it's errors.

Thanks.


Re: Errors, please help! - Vinninho - 04.10.2012

Alright will upload them tommorow, as I am responding from my phone.