Posts: 12
Threads: 2
Joined: Oct 2010
Reputation:
0
Well, basically, I'm unsure how to fixing:
warning 235: public function lacks forward declaration (symbol "OnPlayerSTATEChange")
I've tried the Case Sensitive differences, Such as 'OnPlayerStateChange'
Full line :- public OnPlayerSTATEChange(playerid, newState, oldState)
If you got any suggestions / Solutions. Lemme know please. Thanks.
Posts: 12
Threads: 2
Joined: Oct 2010
Reputation:
0
Well, If i use 'OnPlayerStateChange' - When i compile i get: error 025: function heading differs from prototype
When i use 'OnPlayerSTATEChange' - When i compile i get: warning 235: public function lacks forward declaration (symbol "OnPlayerSTATEChange")
When i place the Line you both quoted, above my original line When i compile I get: error 025: function heading differs from prototype
Posts: 12
Threads: 2
Joined: Oct 2010
Reputation:
0
& I can add the 'Forward' line, just in the line, right above my original line, and it should be fine, Yeah?
Posts: 1,057
Threads: 90
Joined: May 2009
Reputation:
0
You donґt have to forward standard SA-MP callbacks.
Posts: 12
Threads: 2
Joined: Oct 2010
Reputation:
0
If i just simply change my original line, to this - 'public OnPlayerStateChange(playerid,newstate,oldstate)'
All i get is 5 Errors, but i think i can work round to fixing those seperately.
Posts: 12
Threads: 2
Joined: Oct 2010
Reputation:
0
Yeah, it's all good now, Thanks alot people..