SA-MP Forums Archive
Compile get 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Compile get errors (/showthread.php?tid=172192)



Compile get errors - whitedragon - 29.08.2010

(1022) : error 017: undefined symbol "floatstr"
(1605) : error 017: undefined symbol "floatstr"
(1606) : error 017: undefined symbol "floatstr"
(1607) : error 017: undefined symbol "floatstr"
(160 : error 017: undefined symbol "floatstr"
(6136) : error 017: undefined symbol "floatstr"
(6137) : error 017: undefined symbol "floatstr"
(613 : error 017: undefined symbol "floatstr"
(6139) : error 017: undefined symbol "floatstr"

Using linux Pawn complier... Is there any clue to help to fix those??


Re: Compile get errors - gamer931215 - 29.08.2010

Undefined symbol... READ the errors, did you declared it (new Float:floatstr; or if it isnt an float, just new floatstr ?


Re: Compile get errors - [HiC]TheKiller - 29.08.2010

flatstr has a capital F.

You could just do this

pawn Код:
#define floatstr(%1) Floatstr(%1)
Or just change it to upper case.


Re: Compile get errors - gamer931215 - 29.08.2010

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
flatstr has a capital F.

You could just do this

pawn Код:
#define floatstr(%1) Floatstr(%1)
Or just change it to upper case.
Replace function ftw,
but oh is it an function :$ didnt checked that, ive never used that function before :P


Re: Compile get errors - whitedragon - 29.08.2010

nope not work


Re: Compile get errors - [NoV]LaZ - 29.08.2010

Add
pawn Код:
#include <float>
to your source code.
________
LovelyWendie99


Re: Compile get errors - whitedragon - 29.08.2010

Nope not work :S
LoL i put them a_samp and gamemode and it dont say already defined