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=552465)



errors - Jhony_Blaze - 24.12.2014

Hello, I found a stunt gamemode here on sa-mp and since I can't really script I thought I would use it as my server and host it. Gamemode looks alright but it has some textdraws that I wanted to change but it seems that it asked me for some includes. After I added the includes and recompiled the gamemode again, it gave me other errors, here they are :

Код:
(192) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
(196) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
(197) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
(189) : warning 203: symbol is never used: "mZoom"
(189) : warning 203: symbol is never used: "Zrot"
(189) : warning 203: symbol is never used: "Yrot"
(189) : warning 203: symbol is never used: "Xrot"
(189) : warning 203: symbol is never used: "modelindex"
(3770) : warning 217: loose indentation
(4716) : warning 217: loose indentation
(4717) : warning 217: loose indentation
I am not quite sure how to fix these errors because for some reason, these errors are not on these lines. Like where it shows line (189) I actually have different codes on that line.

Here is the link to the gamemode : http://forum.sa-mp.com/showthread.ph...ighlight=stunt


Re: errors - RayC - 24.12.2014

Have you updated the include you using for mSelection?
https://sampforum.blast.hk/showthread.php?tid=407045

Also download the server package from sa-mp.com and overwrite your current includes with the ones from the package.


Re: errors - Jhony_Blaze - 24.12.2014

I tried doing that but still give me errors.


Re : errors - StreetRP - 24.12.2014

update your samp includes to 0.3z


Re: Re : errors - Jhony_Blaze - 24.12.2014

Quote:
Originally Posted by StreetRP
Посмотреть сообщение
update your samp includes to 0.3z
I did that, I have all the latest includes I think, I downloaded a pack of includes since it asked me for a lot of them like YSI