BUG Spawn
#14

i know this is a really stupid question but... did you ever try
Код:
if(GetPlayerTeam(playerid)!=0)   //check if player selected a team
{
    ///force your players to spawn here.
}
else{
    ///do your spawn selection here.
}
if player selected a team, GetPlayerTeam wouldnt return 0 and you can directly spawn them? i assume on second death you already use it but maybe you dont define if before first death? it looks like that to me. Its generally the silliest and simplest answer solves the problem in death scripts, if you are sure of you didnt do anything wrong in the first question that pops in minds.
Reply


Messages In This Thread
BUG Spawn - by Kevin51 - 21.11.2017, 20:46
Re: BUG Spawn - by Meller - 21.11.2017, 21:19
Re: BUG Spawn - by Kevin51 - 21.11.2017, 23:03
Re: BUG Spawn - by Ritzy2K - 22.11.2017, 05:27
Re: BUG Spawn - by Kevin51 - 22.11.2017, 15:05
Re: BUG Spawn - by Kevin51 - 22.11.2017, 17:15
Re: BUG Spawn - by Escobabe - 22.11.2017, 17:18
Re: BUG Spawn - by Kevin51 - 23.11.2017, 00:13
Re: BUG Spawn - by Kevin51 - 23.11.2017, 23:34
Re: BUG Spawn - by Kevin51 - 24.11.2017, 17:54
Re: BUG Spawn - by Meller - 24.11.2017, 18:54
Re: BUG Spawn - by RedFusion - 24.11.2017, 19:02
Re: BUG Spawn - by Kevin51 - 24.11.2017, 21:40
Re: BUG Spawn - by grymtn - 25.11.2017, 01:26
Re: BUG Spawn - by Kevin51 - 02.12.2017, 18:42
Re: BUG Spawn - by Kevin51 - 03.12.2017, 17:35
Re: BUG Spawn - by Kevin51 - 04.12.2017, 20:24
Re: BUG Spawn - by Kevin51 - 05.12.2017, 17:36
Re: BUG Spawn - by Sew_Sumi - 05.12.2017, 18:22
Re: BUG Spawn - by Kevin51 - 06.12.2017, 22:55
Re: BUG Spawn - by Kevin51 - 07.12.2017, 22:24
Re: BUG Spawn - by AjaxM - 11.12.2017, 06:24
Re: BUG Spawn - by Kevin51 - 11.12.2017, 13:20
Re: BUG Spawn - by Kevin51 - 11.12.2017, 19:23
Re: BUG Spawn - by RogueDrifter - 11.12.2017, 19:27
Re: BUG Spawn - by Kevin51 - 11.12.2017, 20:05
Re: BUG Spawn - by Xeon™ - 11.12.2017, 20:09
Re: BUG Spawn - by RogueDrifter - 11.12.2017, 20:17
Re: BUG Spawn - by Kevin51 - 11.12.2017, 20:46
Re: BUG Spawn - by RogueDrifter - 11.12.2017, 20:47
Re: BUG Spawn - by Kevin51 - 12.12.2017, 18:24
Re: BUG Spawn - by Xeon™ - 12.12.2017, 18:31
Re: BUG Spawn - by Kevin51 - 12.12.2017, 18:38
Re: BUG Spawn - by Xeon™ - 12.12.2017, 18:55
Re: BUG Spawn - by Kevin51 - 12.12.2017, 19:40
Re: BUG Spawn - by RogueDrifter - 12.12.2017, 21:20
Re: BUG Spawn - by Xeon™ - 12.12.2017, 21:22
Re: BUG Spawn - by Kevin51 - 14.12.2017, 14:26
Re: BUG Spawn - by Kevin51 - 14.12.2017, 21:19
Re: BUG Spawn - by Sew_Sumi - 14.12.2017, 23:15
Re: BUG Spawn - by Sew_Sumi - 20.12.2017, 21:59
Re: BUG Spawn - by Kevin51 - 26.12.2017, 23:41
Re: BUG Spawn - by Dayrion - 27.12.2017, 00:21

Forum Jump:


Users browsing this thread: 2 Guest(s)