Updated my YSI and got 4 errors? - 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: Updated my YSI and got 4 errors? (
/showthread.php?tid=447305)
Updated my YSI and got 4 errors? [SOLVED] -
Hargrave - 29.06.2013
Hello.
I updated YSI on my script and then I got four errors that says:
Quote:
(553) : error 025: function heading differs from prototype
(16902) : error 025: function heading differs from prototype
(59194) : error 035: argument type mismatch (argument 2)
(72583) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
|
And here's the lines:
Line 553:
Quote:
forward OnPlayerLogin(playerid,password[]);
|
Line 16902:
Quote:
public OnPlayerLogin(playerid,password[])
|
Line 59194:
Quote:
OnPlayerLogin(playerid,tmp);
|
Line 72583:
Quote:
OnPlayerLogin(playerid,tmppass);
|
I guess it's something wrong with OnPlayerLogin, but I am not the best scripter. What can it be?
SOLVED!
I edited OnPlayerLogin to OnPlayerLogIn and it worked
Re: Updated my YSI and got 4 errors? -
Hargrave - 29.06.2013
Using an old script with dini, thinking about converting it, but I guess that's hard. Just trying to edit a buggy script. And by the way; didn't know that.