Need help (Warnings)
#1

Код:
warning 235: public function lacks forward declaration (symbol "OnUnoccupiedVehicleUpdate")
warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
Yea, these I wanna fix them but I can't.
Also I've already got the NEWEST yINI, and still nothing - Same warnings.
Even though it's warnings I still want to fix it.
Need the help quick.
Thanks.
Justin.
Reply
#2

pawn Код:
forward "EACH WORD HERE"
Reply
#3

Use forward, ex:
PHP код:
forward OnPlayerTakeDamage(playeridissueridFloat:amountweaponid
REMEMBER that the parameters have to be the same as the one you have in your public function!

Parameters:OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)

Parameters= Green Color.
Reply
#4

Alright thanks guys, worked !
Reply
#5

If you get / got these warnings you mostly used an outdated a_samp.inc version
Just download the newest server package
Reply
#6

You've outdated a_samp.inc

Download the latest a_samp.inc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)