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



errors. - 0utLaW_ - 15.10.2012

Errose:

Код:
C:\DOCUME~1\ADMINI~1\Desktop\Latest\GAMEMO~1\GRANDL~1.PWN(645) : error 001: expected token: ",", but found "-rational value-"
C:\DOCUME~1\ADMINI~1\Desktop\Late\GAMEMO~1\GRANDL~1.PWN(645) : warning 215: expression has no effect
C:\DOCUME~1\ADMINI~1\Desktop\Late\GAMEMO~1\GRANDL~1.PWN(645) : warning 215: expression has no effect
C:\DOCUME~1\ADMINI~1\Desktop\Late\GAMEMO~1\GRANDL~1.PWN(645) : warning 215: expression has no effect
C:\DOCUME~1\ADMINI~1\Desktop\Late\GAMEMO~1\GRANDL~1.PWN(645) : warning 215: expression has no effect
C:\DOCUME~1\ADMINI~1\Desktop\Late\GAMEMO~1\GRANDL~1.PWN(645) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\ADMINI~1\Desktop\Late\GAMEMO~1\GRANDL~1.PWN(645) : error 029: invalid expression, assumed zero
C:\DOCUME~1\ADMINI~1\Desktop\Late\GAMEMO~1\GRANDL~1.PWN(645) : fatal error 107: too many error messages on one line

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


4 Errors.
Line:

Код:
CreateDynamicObject(19383, 2788.854492, -6618.78173,8 30.570089, 0.000000, 0.000000, 0.000000)
Please help


Re: errors. - Emmet_ - 15.10.2012

pawn Код:
CreateDynamicObject(19383, 2788.854492, -6618.78173, 830.570089, 0.000000, 0.000000, 0.000000);



Re: errors. - Jarnu - 15.10.2012

Код:
CreateDynamicObject(19383, 2788.854492, -6618.78173,8 30.570089, 0.000000, 0.000000, 0.000000);
I know Emmet_ posted solution but didn't explained the problem.
so,

Your problem was this ';'
You didn't put this ';' (without ' ' ) at end of this line
Код:
CreateDynamicObject(19383, 2788.854492, -6618.78173,8 30.570089, 0.000000, 0.000000, 0.000000)
next time be careful


Re: errors. - mamorunl - 15.10.2012

Quote:
Originally Posted by Jarnu
Посмотреть сообщение
Код:
CreateDynamicObject(19383, 2788.854492, -6618.78173,8 30.570089, 0.000000, 0.000000, 0.000000);
I know Emmet_ posted solution but didn't explained the problem.
so,

Your problem was this ';'
You didn't put this ';' (without ' ' ) at end of this line
Код:
CreateDynamicObject(19383, 2788.854492, -6618.78173,8 30.570089, 0.000000, 0.000000, 0.000000)
next time be careful
Actually, he had a space in the fourth parameter.