Errors, please help!
#1

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!
Reply
#2

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

Thanks.
Reply
#3

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


Forum Jump:


Users browsing this thread: 2 Guest(s)