Can't login to server, game stuck after typing password
#4

Here is some PHP code

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    if(
PlayerInfo[playerid][pKicked]) return 0;
    if(
IsPlayerNPC(playerid)) return 1;
    if(!
PlayerInfo[playerid][pLogged])
    {
        
ClearChat(playerid);
        
TogglePlayerSpectating(playerid1);
        
SetPlayerColor(playerid0xFFFFFF00);
        
#if defined SERVER_INTRO
            
ShowMainMenuCamera(playerid1);
        
#else
            
SetTimerEx("ShowMainMenuCamera"400false"i"playerid);
        
#endif
    
}
    return 
1;

When i change TogglePlayerSpectating from 1 to 0
PHP код:
TogglePlayerSpectating(playerid0); 
i'm getting spawn option down to spawn in game. I think it's not the correct process. when i do this game running normally but no command are showing in server-log.txt like when we type /b or /help nothig showing in server-log.txt, i cant go admin duty and the server intro song coming continuously until the song ends and im not getting login message like if i was admin it should show adm:cmd kamal has logged in like that. I dont know what causing the problem
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)