Errors
#1

Код:
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
Reply
#2

is a_samp included?

if not, include it.
PHP код:
#include <a_samp> 
Reply
#3

Try to update your includes 'mselection and streamer.inc' and make sure that you defined them like that
pawn Код:
#include <mSelection>
#include <streamer>
Reply
#4

The both includes are updated, still errors.
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)