19.08.2015, 21:06
So I'm trying to fix the warnings that shows up when I compile my script and those two are telling me to forward two symbols:
warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
Then I put that to the top of my script :
forward OnPlayerGiveDamage();
forward OnPlayerTakeDamage();
But I still have those warnings showing up when I compile. Can someone tell me what to do to fix them ? Yes I know that they won't keep my server from working well but I still want to fix them.
warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
Then I put that to the top of my script :
forward OnPlayerGiveDamage();
forward OnPlayerTakeDamage();
But I still have those warnings showing up when I compile. Can someone tell me what to do to fix them ? Yes I know that they won't keep my server from working well but I still want to fix them.