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=482452)
Errors -
count.php - 21.12.2013
Код:
D:\Users\A\Desktop\gamemode\pawno\include\streamer.inc(375) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
D:\Users\A\Desktop\gamemode\pawno\include\streamer.inc(397) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
D:\Users\A\Desktop\gamemode\pawno\include\streamer.inc(399) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
D:\Users\A\Desktop\gamemode\pawno\include\mSelection.inc(192) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
D:\Users\A\Desktop\gamemode\pawno\include\mSelection.inc(448) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw")
D:\Users\A\Desktop\gamemode\pawno\include\mSelection.inc(489) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayerTextDraw")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
help
Re: Errors -
CutX - 21.12.2013
is a_samp included?
if not, include it.
PHP код:
#include <a_samp>
Re: Errors -
SilentSoul - 21.12.2013
Try to update your includes 'mselection and streamer.inc' and make sure that you defined them like that
pawn Код:
#include <mSelection>
#include <streamer>
Re: Errors -
count.php - 21.12.2013
The both includes are updated, still errors.
Re: Errors -
Konstantinos - 21.12.2013
Quote:
Originally Posted by count.php
The both includes are updated, still errors.
|
No, they're not.
pawn Код:
streamer.inc(375) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
streamer.inc(397) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
streamer.inc(399) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
Those are given when the streamer.inc is not the latest version so download streamer plugin 2.6.1 and replace both plugin and include files.
pawn Код:
error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw")
warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayerTextDraw")
Those callbacks were added in 0.3e and TEXT_DRAW_FONT_MODEL_PREVIEW in 0.3x so the a_samp.inc is for 0.3d or earlier version.
Update the server package instead and any other plugin/include to their latest versions.