SA-MP Forums Archive
spawn in dm - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: spawn in dm (/showthread.php?tid=219084)



spawn in dm - hadzx - 31.01.2011

how doi make it so if your in this deathmatch it spawns you back their when you die and if your not in it you go to the normal spawn ive done stuff like this


Код:
if(minig[playerid] == 1)
new RandomSpawn1 = random(2);
  			if (RandomSpawn1 == 0)
			{
			SetPlayerPos(playerid, 2229.4968,1576.1668,999.9703);
			}
			if (RandomSpawn1 == 1)
			{
			SetPlayerPos(playerid, 2199.5539,1610.7315,999.9724);
			}
but it doesnt work plz help ty:P


Re: spawn in dm - bartje01 - 31.01.2011

pawn Код:
if(deatmatch[playerid] == 1)
{
SetPlayerPos
}
else
{
SetPlayerPos
}
??


Re: spawn in dm - hadzx - 31.01.2011

Quote:
Originally Posted by bartje01
Посмотреть сообщение
pawn Код:
if(deatmatch[playerid] == 1)
{
SetPlayerPos
}
else
{
SetPlayerPos
}
??
THANK YOUUUUU XD<33


Re: spawn in dm - bartje01 - 31.01.2011

No problem :P