Ezzel is van egy gond....
public OnPlayerRequestClass(playerid, classid)
{
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
SetPlayerCameraPos(playerid, -1538.7518310547,2471.9030761719,121.8024520874);
SetPlayerCameraLookAt(playerid, -1515.3344726563,2556.5407714844,73.968368530273);
if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
{
ClearChatbox(playerid, 10);
if (gPlayerAccount[playerid] != 0)
{
new string2[60];
new jatekosnev[MAX_PLAYER_NAME];
GetPlayerName(playerid, jatekosnev, sizeof(jatekosnev));
format(string2, sizeof(string2), \"{40ff00}Üdv a szerveren, %s!\",jatekosnev);
SendClientMessage(playerid, COLOR_YELLOW2,string2);
SendClientMessage(playerid, COLOR_YELLOW, \"{000000}=======================<Szerver>=====================\");
SendClientMessage(playerid, COLOR_YELLOW, \"{40c0ff}A parancsok kilistázásához használd a /help parancsot!\");
SendClientMessage(playerid, COLOR_YELLOW, \"{40c0ff}Scripter: Fanni_Flanders.\");
SendClientMessage(playerid, COLOR_YELLOW, \"{40c0ff}Mielött kérdezel ((/help))\");
SendClientMessage(playerid, COLOR_YELLOW, \"{40c0ff}Ha bármi problémád lenne szólj nekünk! (/jelentes)\");
SendClientMessage(playerid, COLOR_YELLOW, \"{40c0ff}A szabályzat nem tudása nem mentesít a {ff0000}büntetés {40c0ff}alól!!\");
SendClientMessage(playerid, COLOR_YELLOW, \"{000000}=====================================================\");
new loginstring[128];
new loginname[MAX_PLAYER_NAME];
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),\"{ff8000}Üdv!\\n{000080}Regisztrálva vagy!\\n{0000ff}Írd be a jelszavad:\",loginname);
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,\"{ffff00}Bejelentkezés\",loginstring,\"Belépés\",\"Kilépek\");
}
else
{
gPlayerAccount[playerid] = 0;
new regstring[128];
new regname[MAX_PLAYER_NAME];
GetPlayerName(playerid,regname,sizeof(regname));
format(regstring,sizeof(regstring),\"{ff8000}Üdv %s!\\n{000080}Regisztrálnod kell ezt a karaktert!\\n{0000ff}\",regname);
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,\"{ffff00}Regisztrálok\",regstring,\"Regisztrálok\",\"Kilépek\");
}
PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
SetPlayerTeamFromClass(playerid,classid);
}
return false;
}