Hey,
wie der Titel sagt öffnet sich beim einloggen das Register Fenster bzw. Dialog nicht.
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid)) return 1;
if(!playerInfo[playerid][pLoggedIn])
{
playerInfo[playerid][pLoginScreen] = random(sizeof(LoginPos));
SetPlayerCameraPos(playerid, LoginPos[playerInfo[playerid][pLoginScreen]][0],LoginPos[playerInfo[playerid][pLoginScreen]][1],LoginPos[playerInfo[playerid][pLoginScreen]][2]);
SetPlayerCameraLookAt(playerid, LoginPos[playerInfo[playerid][pLoginScreen]][3],LoginPos[playerInfo[playerid][pLoginScreen]][4],LoginPos[playerInfo[playerid][pLoginScreen]][5]);
SetPlayerPos(playerid, LoginPos[playerInfo[playerid][pLoginScreen]][0], LoginPos[playerInfo[playerid][pLoginScreen]][1], LoginPos[playerInfo[playerid][pLoginScreen]][2]-2.0);
Streamer_UpdateEx(playerid, LoginPos[playerInfo[playerid][pLoginScreen]][0], LoginPos[playerInfo[playerid][pLoginScreen]][1], LoginPos[playerInfo[playerid][pLoginScreen]][2] - 2.0);
}
if(!playerInfo[playerid][pSearchedAccount] && !playerInfo[playerid][pFirstSpawn] && playerInfo[playerid][pChooseTeamStep] != 3 && !playerInfo[playerid][pLoggedIn])
{
if(serverInfo[siMusic]) PlayAudioStreamForPlayer(playerid, ServerTracks[random(serverInfo[siMusic])]);
playerInfo[playerid][pSearchedAccount] = true;
new tmp[90], Ip[16], query[512];
GetPlayerIp(playerid, Ip, 16);
strins(tmp, ip2long(Ip), 0);
mysql_format(dbHandle, query, 512, "SELECT `id` FROM `iptable` WHERE startip < %s AND %s < endip LIMIT 1",tmp, tmp);
mysql_pquery(dbHandle, query, "OnServerCheckPlayerIp", "d", playerid);
InitializePlayerORM(playerid);
}
return 1;
}
Alles anzeigen
Und hier nochmal die Server log
19:53:57]
[19:53:57] Keine definierte Verbindung gefunden. Vermutung auf Localhost - Verbindung wird initialisiert.
[19:53:57] Es wurden 10 Lieder geladen.
[19:53:57] Derbymap derby/.derby existiert nicht.
[19:53:57] Filterscript 'maps.amx' load failed.
[19:53:57] Number of vehicle models: 1
[19:53:58] [connection] incoming connection: 87.98.243.201:50693 id: 0
[19:53:58] [npc:join] securityguy has joined the server (0:87.98.243.201)
[19:54:10] MS: 1 (SecondsTimer)
[19:54:21] [connection] incoming connection: 83.179.243.27:57586 id: 1
[19:54:22] [join] hit.cs has joined the server (1:83.179.243.27)
[19:54:22] INIT START
[19:54:22] INIT END
[19:54:22] ormid: 0, playerid
[19:54:22] h: 0
[19:55:07] [part] hit.cs has left the server (1:1)
[19:55:18] MS: 1 (dataTimer)
Hoffe ihr könnt mir helfen