#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
#2

Search SetSpawnInfo function.
Reply
#3

fixed lock please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)