SA-MP Forums Archive
Onplayerlogin error 025 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Onplayerlogin error 025 (/showthread.php?tid=512521)



Onplayerlogin error 025 - ****** Clash? - Donvalley - 11.05.2014

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?


Re: Onplayerlogin error 025 - Donvalley - 11.05.2014

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


Re: Onplayerlogin error 025 - Donvalley - 11.05.2014

bump