03.03.2014, 17:33
Quote:
Problem is that if a person dies inside there, he doesn't spawn back in there,
pawn Code:
|
But im quiet sure that when you put that under onplayerdeath, like you did.
It's not gonna work. the player is dying... he'll be spawned after that.
so you might put that under onplayerspawn
also, idk if onplayerspawn is called when you do setplayerpos
so if you end up in an endless loop of spawning... just set InDMS[playerid] to 0 after the first time
just try... that's what it is all about, self-experience.
just fool around with some code, that's how you'll learn it