Not spawn in interior.
#1

Hello all, i have trouble. Player doesn't spawn in interior in this code. When code was complete, i type command /deb and interior appears .Help please

PHP код:
if(GetPVarInt(playerid,"skinfunc") == 1)
    {
        
SetPlayerVirtualWorld(playerid,world);
        ++
world;
        
TextDrawShowForPlayer(playerid,uplineskin1[playerid]);
        
TextDrawShowForPlayer(playerid,bottomlineskin1[playerid]);
        
TextDrawShowForPlayer(playerid,SelectYourSkin[playerid]);
        
TextDrawShowForPlayer(playerid,Prev[playerid]);
        
TextDrawShowForPlayer(playerid,Next[playerid]);
        
TextDrawShowForPlayer(playerid,Textdraw0[playerid]);
        
SetPlayerPos(playerid,-1827.147338,7.207418,1061.143554);
        
SetPlayerInterior(playerid,14);
        
TextDrawShowForPlayer(playerid,Accept[playerid]);
        
SelectTextDraw(playerid,0x00FF00FF);
        
SetPlayerSkin(playerid,1);
        
SetPlayerCameraPos(playerid,-1832.84545811.3173651062.743408);
        
SetPlayerCameraLookAt(playerid,-1832.91467216.2531431061.947631);
        
TogglePlayerControllable(playerid,false);
    } 
PHP код:
if(!strcmp(cmdtext"/deb"true))
    {
        
SetPlayerPos(playerid,-1827.147338,7.207418,1061.143554);
        
SetPlayerInterior(playerid,14);
    } 
Reply


Messages In This Thread
Not spawn in interior. - by Baton4ik - 05.08.2013, 09:55
Re: Not spawn in interior. - by FiReAlEx - 05.08.2013, 10:28
Re: Not spawn in interior. - by Baton4ik - 05.08.2013, 10:53

Forum Jump:


Users browsing this thread: 1 Guest(s)