Death spawn team
#1

How do I make one of these team die, send them with a spawninfo to what I leave here below and get the skin 230, 233, 299

I explain how I can make when the player of some of these team (code below) dies send them to the coordinates of the spawninfo and apart from a skin random of the ones mentioned


Code

1: skin random 230, 233, 299 when dying
2: and also that when dying spawnee with a SetSpawnInfo I leave it in the code
PHP код:
     if(dialogid == 9999)
     {
        if(
response)
        {
                 if(
listitem == 0//Dragons
                 
{
                         
SetSpawnInfo(playerid0179324.6891,1126.8384,1083.8828,142.340824,9999924,9999924,99999);
                         
SetPlayerColor(playeridCOLOR_DRAGONS);
                         
SetPlayerInterior(playerid5);
                         
SetPlayerHealth(playerid100);
                         
SpawnPlayer(playerid);
                 }
                 if(
listitem == 1//Templarios
                 
{
                         
SetSpawnInfo(playerid1206760.3945,1441.3341,1102.7031,120.555824,9999924,9999924,99999);
                         
SetPlayerColor(playeridCOLOR_TEMPLARIOS);
                         
SetPlayerInterior(playerid6);
                         
SetPlayerHealth(playerid100);
                         
SpawnPlayer(playerid);
                 }
        }
     } 
Reply


Messages In This Thread
Death spawn team - by Spawe - 07.11.2018, 02:57
Re: Death spawn team - by cSharp - 07.11.2018, 04:42
Re: Death spawn team - by Spawe - 07.11.2018, 20:16

Forum Jump:


Users browsing this thread: 1 Guest(s)