error 025: function heading differs from prototype
#2

your 3th argument is a string (reason), so isntead of
Код:
reason []
do
Код:
const reason []
(also in ur forward)

should look like
Код:
forward SetPlayerCriminal(playerid,declare,const reason []);
public SetPlayerCriminal(playerid,declare,const reason [])
Reply


Messages In This Thread
error 025: function heading differs from prototype - by darkdave - 06.08.2013, 13:53
Re: error 025: function heading differs from prototype - by CutX - 06.08.2013, 13:58
Re: error 025: function heading differs from prototype - by dEcooR - 06.08.2013, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)