SA-MP Forums Archive
help me Again only 2 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: help me Again only 2 errors (/showthread.php?tid=633978)



help me Again only 2 errors - Hassyy - 11.05.2017

Код:
D:\copyy\pawno\include\mysql.inc(117) : error 010: invalid function or declaration
D:\copyy\pawno\include\streamer.inc(341) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
D:\copyy\pawno\include\streamer.inc(364) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
D:\copyy\pawno\include\streamer.inc(366) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
D:\copyy\pawno\include\required/mSelection.inc(448) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw")
D:\copyy\pawno\include\required/mSelection.inc(489) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayerTextDraw")
D:\copyy\pawno\include\required/fixes.inc(4445) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickMap")
D:\copyy\pawno\include\cnr/cnr_toys.inc(319) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditAttachedObject")
D:\copyy\gamemodes\CnR1.pwn(3803) : warning 235: public function lacks forward declaration (symbol "FIXES_OnPlayerClickMap")
D:\copyy\gamemodes\CnR1.pwn(3814) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
What I Should to Define in SELECT_OBJECT_PLAYER_OBJECT in Streamer.inc


Re: help me Again only 2 errors - Vince - 11.05.2017

Quote:

D:\copyy\

Hmmm ...

Update SA-MP includes. And don't double click on pwn files to open them. Open the right editor first and then open the file through the editor to ensure that the invoked compiler looks in the right directory for the includes.


Re: help me Again only 2 errors - Hassyy - 11.05.2017

Bro My Folder Name Is Copyy And in it All The Gamemode And I'm Using the Right Pawno Sry for my bad english.


Re: help me Again only 2 errors - ahmedafzal12 - 11.05.2017

Looks like you messed up with the include.The easiest way is to replace the files from backup if you have one.