20.06.2018, 15:35
HELP ME!
i got this error:
Код:
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;
}
Код:
error 035: argument type mismatch (argument 3) - IN 595 LINE

