Spawn Position when a player dies.
#2

I'm sure that the Hospital spawn is from AddPlayerClass.
To fix this just set the player team of use a variable such as gTeam and then when the player spawns
pawn Код:
if(GetPlayerTeam(playerid) == 1)
{
SetPlayerPos(playerid,x,y,z);
}
else if(GetPlayerTeam(playerid) == 2)
{
SetPlayerPos(playerid,x,y,z);
}
Or use it with cases.
Reply


Messages In This Thread
Spawn Position when a player dies. - by Da_Noob - 21.01.2013, 15:23
Re: Spawn Position when a player dies. - by DaRk_RaiN - 21.01.2013, 15:26
Re: Spawn Position when a player dies. - by Da_Noob - 21.01.2013, 15:30
Re: Spawn Position when a player dies. - by DaRk_RaiN - 21.01.2013, 15:33
Re: Spawn Position when a player dies. - by Da_Noob - 21.01.2013, 18:19
Re: Spawn Position when a player dies. - by Da_Noob - 22.01.2013, 04:56
Re: Spawn Position when a player dies. - by Scenario - 22.01.2013, 05:26
Re: Spawn Position when a player dies. - by Da_Noob - 22.01.2013, 14:51

Forum Jump:


Users browsing this thread: 1 Guest(s)