Spawn
#1

Код:
CMD:spawn1(playerid, params[])
{
	new Float:health;
	GetPlayerHealth(playerid,health);
	SendClientMessage(playerid, COLOR_LIGHTPINK, "You'll now spawn at base!");
	if (health == 0)
    {
		SetPlayerPos(playerid, 254.5229,-1367.1545,53.1094);
    }
    return 1;
}
I made this command for spawning at my base after death but when i use /kill its spawns me at the location i made for the class can anyone tell me how to make it that if i die or use /kill it will spawn me at my base?
Reply


Messages In This Thread
Spawn - by rambalili2 - 20.10.2015, 15:13
Re: Spawn - by iShawn - 20.10.2015, 16:06
Re: Spawn - by rambalili2 - 20.10.2015, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)