Asking for help. - 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)
+--- Thread: Asking for help. (
/showthread.php?tid=625312)
Asking for help. -
MarkNelson - 31.12.2016
Hello, guys i'm working to make another Simple DM Gamemode but i have something to ask.
Can someone show me how to make a DM Game and after death he respawns in the same DM intill he use /leavedm
for multiple DM Mini Games.
I hope you to help me this time. and thanks.
Re: Asking for help. -
lackmail - 31.12.2016
make a boolean set it to true when player joins dm and false when player leaves then under onplayerspawn check if its true spawn it in dm area else spawn it anywhere else you want
Re: Asking for help. -
saffierr - 31.12.2016
Create a variable, when the player is in dm room, set the variable to 1, if he dies whilst the variable is still 1, that means that he's still inside the dm, if he leaves the dm set variable to 0