HELP ME!
#1

HELP ME!

Код:
public OnPlayerDisconnect(playerid, reason)
{
	if (GetPVarInt(playerid, "RegisterTextDraws"))
	{
	    for(new i; i < MAX_REGISTER_TEXTDRAWS; i++)
	    {
	        PlayerTextDrawHide(playerid, RegisterTextDraw[playerid][i]);
	        PlayerTextDrawDestroy(playerid, RegisterTextDraw[playerid][i]);
	    }
	}
	if (GetPVarInt(playerid, "LogginTextDraws"))
	{
	    for(new i; i < MAX_LOGGIN_TEXTDRAWS; i++)
	    {
	        PlayerTextDrawHide(playerid, LogginTextDraw[playerid][i]);
	        PlayerTextDrawDestroy(playerid, LogginTextDraw[playerid][i]);
	    }
	}
	SetPVarString(playerid, "Password", EOS); //595 LINE
	
	SetPVarInt(playerid, "Gender", -1);
	
	SetPVarInt(playerid, "BirthDateDay", -1);
	SetPVarInt(playerid, "BirthDateMonth", -1);
	SetPVarInt(playerid, "BirthDateYear", -1);

	SetPVarInt(playerid, "LogginAttempts", -1);
	SetPVarInt(playerid, "CurrentPreviewModel", -1);
	
	SetPVarInt(playerid, "RegisterTextDraws", -1);
	SetPVarInt(playerid, "LogginTextDraws", -1);
	
	SetPVarInt(playerid, "LoggedInPlayer", -1);
	SetPVarInt(playerid, "LogginAttempts", 0);

	return 1;
}
i got this error:

Код:
error 035: argument type mismatch (argument 3) - IN 595 LINE
Reply


Messages In This Thread
HELP ME! - by hunterLTU - 20.06.2018, 15:35
Re: HELP ME! - by Jyothiranand - 20.06.2018, 16:13
Re: HELP ME! - by jlalt - 20.06.2018, 16:15

Forum Jump:


Users browsing this thread: 1 Guest(s)