16.02.2014, 20:23
Hello,
I've noticed bug that we can solve with OnPlayerDeath. But it's bug
If I don't use Spawning functions comes automatically with SA-MP(etc AddPlayerClass) and If I spawn player in onPlayerConnect and onPlayerDeath; the velocity couldn't be zero. And player deaths 3-4 times per 1 death.
PS: Sorry for bad english.
Solving in Pawn:
Add To OnPlayerDeath:
I've noticed bug that we can solve with OnPlayerDeath. But it's bug

If I don't use Spawning functions comes automatically with SA-MP(etc AddPlayerClass) and If I spawn player in onPlayerConnect and onPlayerDeath; the velocity couldn't be zero. And player deaths 3-4 times per 1 death.
PS: Sorry for bad english.
Solving in Pawn:
Add To OnPlayerDeath:
Код:
SetPlayerVelocity (playerid, 0,0,0);