public OnPlayerRequestSpawn(playerid)
{
return 0;
}
its do, when i am clink in spawn after enter my password, the character dosent spawn
|
its do, when i am clink in spawn after enter my password, the character dosent spawn
|
SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
mysql_format(sqldb, query, sizeof(query), "SELECT * FROM users WHERE nev = '%e' LIMIT 0,1", GetName(playerid));
mysql_tquery(sqldb, query, "LogRegCheck", "i", playerid);
if(dialogid == LOGIN_DIALOG)
{
if(!response) return Kick(playerid);
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, LOGIN_DIALOG, DIALOG_STYLE_PASSWORD, "Red River RPG", "Нrd be a jelszvad a folytatбshoz!", "Tovбbb", "Mйgsem");
if(strcmp(inputtext, PlayerInfo[playerid][pJelszo], true) == 0)
{
PlayerTextDrawShow(playerid, PlayerText:LGRPG);
SendClientMessage(playerid, COLOR_SIKERES, "Sikeres bejelentkezйs!");
SpawnPlayer(playerid);
}
else
{
SendClientMessage(playerid, COLOR_ADMWARN, "Rossz jelszу!");
ShowPlayerDialog(playerid, LOGIN_DIALOG, DIALOG_STYLE_PASSWORD, "Red River RPG", "Нrd be a jelszvad a folytatбshoz!", "Tovбbb", "Mйgsem");
}
return 1;
}