20.08.2013, 22:36
I have tried to make a "body" system, and I have wanted that the player that dies will actually stay on the ground with the blood pool with the skin.
I can't understand why won't it'd stuck inside OnPlayerDeath without calling OnPlayerSpawn yet. (return 0 or return 1 of OnPlayerSpawn), I have read about the sync system of SA:MP but cancling sync of OnPlayerSpawn / OnPlayerDeath or anything basicly, it won't work correctly.
Is there any suggestion/ideas how to make the body of the player stay in the same place?
There was once a bug at RC4 0.3b if I am correct, that the player stood in the same position without any health(0 health) and could walk, OnPlayerDeath was called. But he could have been killed ONLY by if you'd fall a little(nature physics). Does anyone have an idea how to re-create that bug and use it(the player is fully synced) and then just making the player in an animation and hiding his name, and he'd count as a body?
All I need help with, is somehow to recreate the bug I have told about in the pervious(^).
(( The player is fully synced during that bug in RC4. So de-syncing players would cause in problems, unless it's a place where the player won't use much. Or just on anything basicly that contacts the player without hurting him after the respawn. ))
I do not need those scripts that after OnPlayerDeath, OnPlayerSpawn is called and it spawns you back in. I need something that re-creates somehow the bug that was in RC4, or if there is anything else that I can use. It'd be even better!
Thanks for any help!
I can't understand why won't it'd stuck inside OnPlayerDeath without calling OnPlayerSpawn yet. (return 0 or return 1 of OnPlayerSpawn), I have read about the sync system of SA:MP but cancling sync of OnPlayerSpawn / OnPlayerDeath or anything basicly, it won't work correctly.
Is there any suggestion/ideas how to make the body of the player stay in the same place?
There was once a bug at RC4 0.3b if I am correct, that the player stood in the same position without any health(0 health) and could walk, OnPlayerDeath was called. But he could have been killed ONLY by if you'd fall a little(nature physics). Does anyone have an idea how to re-create that bug and use it(the player is fully synced) and then just making the player in an animation and hiding his name, and he'd count as a body?
All I need help with, is somehow to recreate the bug I have told about in the pervious(^).
(( The player is fully synced during that bug in RC4. So de-syncing players would cause in problems, unless it's a place where the player won't use much. Or just on anything basicly that contacts the player without hurting him after the respawn. ))
I do not need those scripts that after OnPlayerDeath, OnPlayerSpawn is called and it spawns you back in. I need something that re-creates somehow the bug that was in RC4, or if there is anything else that I can use. It'd be even better!
Thanks for any help!