Onplayerlogin error 025
#1

Quote:

C:\Users\HP\Desktop\samp03z_svr_R1_win32\gamemodes \LLRP0.0.2.pwn(2301) : error 025: function heading differs from prototype
C:\Users\HP\Desktop\samp03z_svr_R1_win32\gamemodes \LLRP0.0.2.pwn(20477) : error 035: argument type mismatch (argument 2)
C:\Users\HP\Desktop\samp03z_svr_R1_win32\gamemodes \LLRP0.0.2.pwn(23971) : error 035: argument type mismatch (argument 2)
C:\Users\HP\Desktop\samp03z_svr_R1_win32\gamemodes \LLRP0.0.2.pwn(55901) : error 035: argument type mismatch (argument 2)
C:\Users\HP\Desktop\samp03z_svr_R1_win32\gamemodes \LLRP0.0.2.pwn(56907) : error 025: function heading differs from prototype
C:\Users\HP\Desktop\samp03z_svr_R1_win32\gamemodes \LLRP0.0.2.pwn(93220) : warning 213: tag mismatch

Its all under OnPlayerLogin parts. i am pretty sure its ******'s includes thats classing anyone know how to fix?
Reply
#2

only was able to find this suggestion
Quote:

Turns out one of my includes included a y_users.ini.. The y_users.ini had it's own forward on "OnPlayerLogin":

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..

problem is though if you do this you can never login to your account. just connects and says you dont have a account then when you register it says Player name taken
Reply
#3

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)