[AJUDA]Player nгo spawnando...
#5

--' Por isso que quando morre o player volta pra seleзгo de classe, bote assim no final do GM

PHP код:
public OnPlayerSpawn(playerid)
{
        if(
PlayerInfo[playerid][GAT] >= 1)
        {
                        
SetPlayerInterior(playerid,0);
                        
SetPlayerPos(playerid,250.9036,-1665.0033,15.4690);
                        
GameTextForPlayer(playerid,"~w~BEM VINDO"1000,1); // SE QUIZER UMA MENSSAGEM QUANDO SPAWNAR
                        
SetPlayerColor(playerid0xF0F000AA);
                        
SetPlayerSkin(playerid250);
                        
SetPlayerHealth(playerid100.0);
                        
SetPlayerVirtualWorld(playerid0);
                        
TogglePlayerControllable(playerid,1);
            }
    return 
1;

OBS: AONDE ESTБ "PlayerInfo[playerid][GAT]" Й PRA POSTAR SUA VARIAVAEL NO CASO A MINHA Й ESSA, SE EU ESTIVER ERRADO ME CORRIGAM !
Reply


Messages In This Thread
[AJUDA]Player nгo spawnando... - by danktog - 30.06.2011, 00:09
Re: [AJUDA]Player nгo spawnando... - by Nake01 - 30.06.2011, 00:11
Re: [AJUDA]Player nгo spawnando... - by The Knight - 30.06.2011, 00:12
Re: [AJUDA]Player nгo spawnando... - by danktog - 30.06.2011, 00:15
Re: [AJUDA]Player nгo spawnando... - by Nake01 - 30.06.2011, 00:39
Re: [AJUDA]Player nгo spawnando... - by danktog - 30.06.2011, 00:58

Forum Jump:


Users browsing this thread: 4 Guest(s)