Don't get teleported to hospital after dieing
#3

In the dialog he can set his pSpawn value
PHP код:
if(dialogid == DIALOG_SPAWNPOINT)
    {
        if(
response)
        {
            switch(
listitem)
            {
                case 
0// LS
                
{
                    
SendClientMessage(playerid, -1"You will spawn in Los Santos the next time you spawn.");
                    
PlayerInfo[playerid][pSpawn] = 1;
                }
                case 
1// LV
                
{
                    
SendClientMessage(playerid, -1"You will spawn in Las Venturas the next time you spawn.");
                    
PlayerInfo[playerid][pSpawn] = 2;
                }
                case 
2// SF
                
{
                    
SendClientMessage(playerid, -1"You will spawn in San Fierro the next time you spawn.");
                    
PlayerInfo[playerid][pSpawn] = 3;
                }
                case 
3// PC
                
{
                    
SendClientMessage(playerid, -1"You will spawn in Palomino Creek the next time you spawn.");
                    
PlayerInfo[playerid][pSpawn] = 4;
                }
            }
        }
    } 
Reply


Messages In This Thread
Don't get teleported to hospital after dieing - by Sellize - 06.08.2013, 15:02
Re: Don't get teleported to hospital after dieing - by ThePhenix - 06.08.2013, 15:11
Re: Don't get teleported to hospital after dieing - by Sellize - 07.08.2013, 10:39
Re: Don't get teleported to hospital after dieing - by Sellize - 07.08.2013, 11:52

Forum Jump:


Users browsing this thread: 1 Guest(s)