Updated my YSI and got 4 errors?
#1

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
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)