function heading differs from prototype
#1

I have i problem, i am using Ravens script and i deleted Car Ownership and made new one but using YINI saving.. and now i have 3 errors:

Код:
C:\Users\stefan\Desktop\Srbija Roleplay v3.5\gamemodes\SGScriptv4.pwn(511) : error 025: function heading differs from prototype
C:\Users\stefan\Desktop\Srbija Roleplay v3.5\gamemodes\SGScriptv4.pwn(10025) : error 035: argument type mismatch (argument 2)
C:\Users\stefan\Desktop\Srbija Roleplay v3.5\gamemodes\SGScriptv4.pwn(28762) : error 025: function heading differs from prototype
Line 511
Код:
forward OnPlayerLogin(playerid,password[]);
Line 10025
Код:
if(dialogid == 1245)
		{
		    if(response)
		    {
		        strmid(Typed[playerid], inputtext, 0, strlen(inputtext), 255);
                if(!strcmp(Typed[playerid], "None", true))
				{
					ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_PASSWORD,"Pokusajte ponovno, molimo vas da se pridruzite","Niste upisali password!\nUpisite svoj password iznad kako bi se pridruzili","Pridruzi se","Odustani");
			  	}
			  	else
			  	{
		        	OnPlayerLogin(playerid, inputtext);//10025 LINE
				}
			}
			else
			{
			    Kick(playerid);
			}
		}
Line 28762
Код:
public OnPlayerLogin(playerid,password[])
Reply


Messages In This Thread
function heading differs from prototype - by TaylorShade - 27.06.2015, 11:48
Re: function heading differs from prototype - by Vince - 27.06.2015, 13:21
Re: function heading differs from prototype - by Youssef221 - 27.06.2015, 14:06
Re: function heading differs from prototype - by TaylorShade - 27.06.2015, 17:45
Re: function heading differs from prototype - by TaylorShade - 28.06.2015, 11:57

Forum Jump:


Users browsing this thread: 2 Guest(s)