error 025: function heading differs from prototype
#1

I get:
error 025: function heading differs from prototype

Line:
444 and 445:

444:

Код:
forward OnPlayerLogin(playerid, password[]);
445:

Код:
public OnPlayerLogin(playerid, password[])
Reply
#2

Do you use YSI at all? It used (not sure if it still does) OnPlayerLogin as a public function.
Reply
#3

I do use YSI yes.
Reply
#4

Then if you are not using that callback from YSI but you wanted to use one of yours - rename it to OnPlayerLoginEx or whatever you'd like.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)