SA-MP Forums Archive
1 Error - 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: 1 Error (/showthread.php?tid=506522)



1 Error - UfsDev - 13.04.2014

Код:
C:\Users\Khan\Ufs\pawno\include\streamer.inc(487) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
C:\Users\Khan\Ufs\pawno\include\streamer.inc(489) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER_OBJECT"
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4890) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Code/489 :
Код:
CreateDynamicObject(3095,2177.19995117,3883.39990234,6.09999990,0.00000000,0.00000000,267.98400879); //object(a51_jetdoor) (1)



Re: 1 Error - UfsDev - 13.04.2014

anyone help me


Re: 1 Error - Basssiiie - 13.04.2014

Update your SA-MP includes to 0.3z, you can download them here.


Re: 1 Error - UfsDev - 13.04.2014

BULLET_HIT_TYPE_PLAYER_OBJECT


Re: 1 Error - newbie scripter - 13.04.2014

show us the whole callback


Re: 1 Error - superrobot48 - 14.04.2014

it happened to me also
1st) Delete a_samp include
2nd) Add the new a_samp include
and btw show us your callback
u might have add return 1; before reaching the code


Re: 1 Error - Hanuman - 14.04.2014

The problem is in ur include.
Ur streamer plugin is updated but a_samp include is not.
So update ur a_samp include and re-compile ur script.

From here u can download Samp 0.3z for scripting which contains a_samp.inc include
http://sa-mp.com/download.php