When Player Registers he crashs
#7

No it isnt, because i have like
PHP код:
  if(dialogid == DIALOG_SPAWN)
    {
        if(
response || !response)
        {
            
            for(new 
x;x<10000;x++)
                        {
                            new 
rand=random(300);
                            if(
PlayerInfo[playerid][pSex] == 0)
                            {
                                if(
IsValidSkin(rand))
                                {
                                    
PlayerInfo[playerid][pModel] = rand;
                                    
SetPlayerSkin(playeridrand);
                                    break;
                                }
                            }
                            else
                            {
                                if(
IsFemaleSkin(rand))
                                {
                                    
PlayerInfo[playerid][pModel] = rand;
                                    
SetPlayerSkin(playeridrand);
                                    break;
                                }
                            }
                        }
                        
SetPlayerPos(playerid, -1876.3914,49.9433,1057.1891);
                        
SetPlayerInterior(playerid,14);
                        
PlayerInfo[playerid][pTut] = 1;
                        
gOoc[playerid] = 0gNews[playerid] = 0gFam[playerid] = 0;
                        
TogglePlayerControllable(playerid1);
                        
//SetCamBack(playerid);
                        
DeletePVar(playerid"MedicBill");
                        
SetPlayerColor(playerid,TEAM_HIT_COLOR);
                        
SetCameraBehindPlayer(playerid);
                        
PlayerInfo[playerid][pCarLic] = 0;
                        }
        } 
And it sets player position there without crashing after registration
Reply


Messages In This Thread
When Player Registers he crashs - by FaZeRs - 26.02.2014, 17:27
Re: When Player Registers he crashs - by Bingo - 26.02.2014, 17:35
Re: When Player Registers he crashs - by FaZeRs - 26.02.2014, 17:37
Re: When Player Registers he crashs - by Bingo - 26.02.2014, 17:39
Re: When Player Registers he crashs - by FaZeRs - 26.02.2014, 17:40
Re: When Player Registers he crashs - by Bingo - 26.02.2014, 17:42
Re: When Player Registers he crashs - by FaZeRs - 26.02.2014, 17:43
Re: When Player Registers he crashs - by Bingo - 26.02.2014, 17:44
Re: When Player Registers he crashs - by FaZeRs - 26.02.2014, 17:45
Re: When Player Registers he crashs - by FaZeRs - 26.02.2014, 19:05

Forum Jump:


Users browsing this thread: 1 Guest(s)