SetSpawnInfo
#4

Then do the same thing as OnPlayerSpawn but inside a command

PHP код:
CMD:spawn(playeridparams[])
{
    if(
JustDied[playerid] == true)
    {
        
/*
            Just remove SetPlayerSkin and insert your code for them to select a skin.
        */
        
SetPlayerPos(playerid254.5229, -1367.154553.1094);
        
SetPlayerFacingAngle(playerid297.0670);
        
SetPlayerSkin(playerid51); // Biker Skin?
        
SetPlayerTeam(playeridpBikers);
        
JustDied[playerid] = false;
    }
    else 
SendClientMessage(playerid, -1"Unable to process command");
    return 
1;

Reply


Messages In This Thread
SetSpawnInfo - by rambalili2 - 03.11.2015, 08:52
Re: SetSpawnInfo - by itsCody - 03.11.2015, 09:14
Re: SetSpawnInfo - by rambalili2 - 03.11.2015, 09:18
Re: SetSpawnInfo - by itsCody - 03.11.2015, 09:22
Re: SetSpawnInfo - by rambalili2 - 03.11.2015, 09:29
Re: SetSpawnInfo - by itsCody - 03.11.2015, 09:34
Re: SetSpawnInfo - by rambalili2 - 03.11.2015, 09:39
Re: SetSpawnInfo - by itsCody - 03.11.2015, 09:43
Re: SetSpawnInfo - by rambalili2 - 03.11.2015, 09:44
Re: SetSpawnInfo - by Vince - 03.11.2015, 10:00

Forum Jump:


Users browsing this thread: 2 Guest(s)