Pawno crashing
#3

Probably an issue with brackets. I just indented your code and it looks like this:
PHP код:

            
else
            {
                
format(stringsizeof(string), "Nobody");
                
strmid(PlayerInfo[playerid][pReferredBy], string0strlen(string), MAX_PLAYER_NAME);
                
SendClientMessageEx(playeridCOLOR_LIGHTRED"Thanks for filling in all the information, now you can proceed to the tutorial!");
                
RegistrationStep[playerid] = 3;
                
SetPlayerVirtualWorld(playerid0);
                
ClearChatbox(playerid);
                
ShowTutGUIBox(playerid);
                
ShowTutGUIFrame(playerid1);
                
TutStep[playerid] = 1;
                for (new 
011t++)
                {
                    
TextDrawShowForPlayer(playeridTutTxtDraw[t]);
                }
                
TutorialProgress[playerid] = 1;
                
SetTimerEx("TutorialProgression"145000"d"playerid);
            }
            
//TextDrawShowForPlayer(playerid, txtNationSelHelper);
            //TextDrawShowForPlayer(playerid, txtNationSelMain);
            //PlayerNationSelection[playerid] = -1;
            //    Streamer_UpdateEx(playerid, 1607.0160,-1510.8218,207.4438);
            //    SetPlayerPos(playerid, 1607.0160,-1510.8218,-10.0);
            //    SetPlayerCameraPos(playerid, 1850.1813,-1765.7552,81.9271);
            //    SetPlayerCameraLookAt(playerid, 1607.0160,-1510.8218,207.4438);
            
SetPlayerVirtualWorld(playerid0);
            
SetPlayerInterior(playerid0);
            
Streamer_UpdateEx(playerid1319.4899228.638219.5547);
            
SetPlayerPos(playerid1319.4899228.638219.5547);
            
SetPlayerFacingAngle(playerid336.1479);
            
TogglePlayerSpectating(playerid1);
            
InterpolateCameraPos(playerid1096.835693428.08279448.4687301425.69592294.67074565.86776725000);
            
InterpolateCameraLookAt(playerid1101.151000425.83038347.3265601424.07263199.20972464.54013825000);
        }
    }

Unless you post the whole function, I can't say for certain if there are missing or extra.
Reply


Messages In This Thread
Pawno crashing - by IndependentGaming - 27.06.2016, 20:34
Re: Pawno crashing - by Battlezone - 27.06.2016, 20:38
Re: Pawno crashing - by Konstantinos - 27.06.2016, 20:39
Re: Pawno crashing - by nemanjasepa - 30.06.2016, 08:05

Forum Jump:


Users browsing this thread: 2 Guest(s)