Help Me ;(
#1

Код:
C:\Documents and Settings\Administrator\Desktop\BaseScript\filterscripts\sgt_dl.pwn(80) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\BaseScript\filterscripts\sgt_dl.pwn(80) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
AND THAT IS THAT

Код:
	{1235.1285,103.5985,20.9667},
	{1262.7439,98.6546,21.4350},
};
public OnFilterScriptInit()
{
Reply
#2

Could you post your whole callback?
Reply
#3

Quote:
Originally Posted by cruteX_modshop
Посмотреть сообщение
Could you post your whole callback?
No need for that.

Quote:
Originally Posted by rokata555
Посмотреть сообщение
Код:
C:\Documents and Settings\Administrator\Desktop\BaseScript\filterscripts\sgt_dl.pwn(80) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\BaseScript\filterscripts\sgt_dl.pwn(80) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
AND THAT IS THAT

Код:
	{1235.1285,103.5985,20.9667},
	{1262.7439,98.6546,21.4350},
};
public OnFilterScriptInit()
{
Hmm, try this:

Код:
	{1235.1285,103.5985,20.9667},
	{1262.7439,98.6546,21.4350}
};
public OnFilterScriptInit()
{
[/QUOTE]

If I'm correct, it's the comma at the end of {1262.7439,98.6546,21.4350}, that broke it. It expects a statement after that, but you're not giving it any.
(Short version: No comma after the last one.)

Also, there's a scripting section a bit lower on the page, I'd figure you will get more help there.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)