PDA

View Full Version : Errors, please help!


Vinninho
04/10/2012, 06:23 PM
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 (c) 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!

CmZxC
04/10/2012, 06:30 PM
Please give us the whole function, not just pieces of it.
Sometimes the PAWN compiler is not accurate about it's errors.

Thanks.

Vinninho
04/10/2012, 08:01 PM
Alright will upload them tommorow, as I am responding from my phone.