[Ajuda] Player nгo й spawn
#2

Quote:
Originally Posted by cristiannh2
Посмотреть сообщение
Alguйm pode me ajudar? tenho esse sistema de x1, mas quando o player mata ele nгo й spawn mesmo chamando a funзгo.

PHP код:
if(Player[playerid][pXOne] && Player[killerid][pXOne])
    {
        
SpawnPlayer(killerid);
        
Player[killerid][pXOneWin]++;
        
Player[playerid][pXOne] = false;
            
Player[killerid][pXOne] = false;
        
SetPlayerVirtualWorld(playerid0);
        
SetPlayerVirtualWorld(killerid0);
    } 
Falta ai spawnar o player que foi morto....

PHP код:
if(Player[playerid][pXOne] && Player[killerid][pXOne])
{
    
SpawnPlayer(playerid);
    
SpawnPlayer(killerid);
    
Player[killerid][pXOneWin]++;
    
Player[playerid][pXOne] = false;
    
Player[killerid][pXOne] = false;
    
SetPlayerVirtualWorld(playerid0);
    
SetPlayerVirtualWorld(killerid0);

Reply


Messages In This Thread
Player nгo й spawn - by cristiannh2 - 01.07.2018, 20:41
Re: Player nгo й spawn - by PT - 01.07.2018, 21:10
Re: Player nгo й spawn - by cristiannh2 - 01.07.2018, 21:16
Re: Player nгo й spawn - by cristiannh2 - 02.07.2018, 02:11

Forum Jump:


Users browsing this thread: 1 Guest(s)