SetSpawnInfo throws me into classselection
#1

When I use SetSpawnInfo in OnPlayerDeath, the server respawns me in the class-selection.

Example:
Код:
                new rand = random(4);
                SetSpawnInfoEx(playerid, NO_TEAM, GetPlayerSkin(playerid), WorldSpawns[rand][0], WorldSpawns[rand][1], WorldSpawns[rand][2] + 3.0, WorldSpawns[rand][3]);
This does not happen always.

Edit:
Sorry, forgot to post this:
Код:
SetSpawnInfoEx(playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle)
{
	return SetSpawnInfo(playerid, team, skin, x, y, z, Angle, 0, 0, 0, 0, 0, 0);
}
Reply


Messages In This Thread
SetSpawnInfo throws me into classselection - by Mellnik - 15.02.2014, 17:08
Re: SetSpawnInfo throws me into classselection - by Abagail - 15.02.2014, 17:10
Re: SetSpawnInfo throws me into classselection - by ColeMiner - 15.02.2014, 17:13
AW: SetSpawnInfo throws me into classselection - by Mellnik - 15.02.2014, 17:44
Re: SetSpawnInfo throws me into classselection - by Abagail - 15.02.2014, 18:16
AW: Re: SetSpawnInfo throws me into classselection - by Mellnik - 15.02.2014, 18:19
AW: SetSpawnInfo throws me into classselection - by Nero_3D - 15.02.2014, 18:35
AW: SetSpawnInfo throws me into classselection - by Mellnik - 15.02.2014, 18:45

Forum Jump:


Users browsing this thread: