SA-MP Forums Archive
spawning back in DM places - 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: spawning back in DM places (/showthread.php?tid=99122)



spawning back in DM places - kokkie20 - 25.09.2009

Hi,
i want to have that if a player gets killed at a dm zone (got different one's)
that he get spawned back there after he died,
i searched here on the forum ( i am not dumb)
but cant find anything?
anyone can help me with it??
thanks


Re: spawning back in DM places - Double-O-Seven - 25.09.2009

Set the player to the pos of the DM in the callback OnPlayerSpawn...


Re: spawning back in DM places - kokkie20 - 25.09.2009

yeah but how do u do that exactly ?
cause i also cant figure that out...


Re: spawning back in DM places - Donny_k - 25.09.2009

pawn Код:
SetSpawnInfo(...);
Do that in the command or whatever activates the DM for them and they will spawn there from then onwards and when they leave set the info back to that of thier class.


Re: spawning back in DM places - kokkie20 - 25.09.2009

ok will try it
thanks