error 017: undefined symbol "TextDrawSetPreviewRot"
#1

Well, once again, I have returned with 6 new errors I've never seen before (not a heavy scripter). I would like help on how to fix them.


Errors from the script

Код:
C:\Users\***\Desktop\AGRP New Script\AGRP.pwn(47925) : error 017: undefined symbol "TextDrawSetPreviewModel"
C:\Users\***\Desktop\AGRP New Script\AGRP.pwn(47926) : error 017: undefined symbol "TextDrawSetPreviewRot"
C:\Users\***\Desktop\AGRP New Script\AGRP.pwn(47940) : error 017: undefined symbol "TextDrawSetPreviewModel"
C:\Users\***\Desktop\AGRP New Script\AGRP.pwn(47941) : error 017: undefined symbol "TextDrawSetPreviewRot"
C:\Users\***\Desktop\AGRP New Script\AGRP.pwn(47955) : error 017: undefined symbol "TextDrawSetPreviewModel"
C:\Users\***\Desktop\AGRP New Script\AGRP.pwn(47956) : error 017: undefined symbol "TextDrawSetPreviewRot"
Code/Lines from the script:

47926

Код:
	TextDrawSetPreviewRot( Area6, 0.000000, 0.000000, 0.000000, 1.000000);
47940

Код:
	TextDrawSetPreviewModel( Area7, 488);
47941

Код:
	TextDrawSetPreviewRot( Area7, -50.000000, 0.000000, -55.000000, 1.000000);
47955

Код:
	TextDrawSetPreviewModel( Area8, 524);
47956

Код:
	TextDrawSetPreviewRot( Area8, 0.000000, 0.000000, -55.000000, 1.000000);
Reply
#2

Looks like your includes are outdated (these function were included in 0.3x) so your server is older than that. Update to 0.3z or 0.3.7 (beta)
Reply
#3

I updated to 3z. My SERVER is 3z but, I guess my includes are outdated? How do I get updated includes?
Reply
#4

I updated my includes and still the same problem exist. Whenever I try to compile, my pawno says "Not Responding" loads forever then finally shows the errors...
Reply
#5

The reason it's taking forever is probably because it's a huge script.
But either you don't include a_samp.inc, or you're not updating it correctly, can't think of any other reason.
Reply
#6

Yeah, you may say it makes pawn a bit lazy while compiling due to the massive code!
Though i hate people not using filterscripts and instead adding to a gamemode to increase code lines, because they think their script is pro due to those 40k(example) lines :v

Those errors will address you if:
- Older samp cliet version
- Maybe improper hooking!
- Compatibility of pawn compiler, mainly people have older version but with new client
- Location linked with the compiler, maybe to an older client folder

For compiler taking long time, i have already posted a reply to an old scripting help thread:
http://forum.sa-mp.com/showpost.php?...93&postcount=6
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)