05.01.2013, 00:52
(
Последний раз редактировалось InActtive™; 06.01.2013 в 14:29.
)
SOLVED
SOLUTION:
Turns out one of my includes included a y_users.ini.. The y_users.ini had it's own forward on "OnPlayerLogin":
All I did was replace the "OnPlayerLogin" in my gamemode script with "OnPlayerLogIn" and it worked. I had a feeling there was another one somewhere, just didn't know where.
Hiya, anyone have an idea why my OnPlayerLogin stopped working? My OnPlayerRegister works fine... Idk what's wrong..
================================================== ======================
Errors:
(Line: 267)
(Line: 6272)
(Line: 632
(Line: 19354)
Everything seems fine.. Idk what's wrong..
SOLUTION:
Turns out one of my includes included a y_users.ini.. The y_users.ini had it's own forward on "OnPlayerLogin":
pawn Код:
OnPlayerLogin(playerid, yid);
Hiya, anyone have an idea why my OnPlayerLogin stopped working? My OnPlayerRegister works fine... Idk what's wrong..
================================================== ======================
Errors:
pawn Код:
(267) : error 025: function heading differs from prototype
(6272) : error 035: argument type mismatch (argument 2)
(6328) : error 035: argument type mismatch (argument 2)
(19354) : error 025: function heading differs from prototype
pawn Код:
forward OnPlayerLogin(playerid,password[]);
pawn Код:
OnPlayerLogin(playerid,tmppass);
pawn Код:
OnPlayerLogin(playerid,tmppass);
pawn Код:
public OnPlayerLogin(playerid,password[])