OnPlayerLogin Stops working. (Not MySQL)
#1

SOLVED

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);
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:
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
(Line: 267)
pawn Код:
forward OnPlayerLogin(playerid,password[]);
(Line: 6272)
pawn Код:
OnPlayerLogin(playerid,tmppass);
(Line: 632
pawn Код:
OnPlayerLogin(playerid,tmppass);
(Line: 19354)
pawn Код:
public OnPlayerLogin(playerid,password[])
Everything seems fine.. Idk what's wrong..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)