03.02.2018, 09:07
u can make it in 2 way, first is to toggleplayercontrollable, wich also gives him a god mode.
and second one, you can give a player exactly amount what he took as a damage.
OnPlayerTakeDamage
if u havn't make a respawn (in a death location) yet, just reply and I'll make an example.
and second one, you can give a player exactly amount what he took as a damage.
OnPlayerTakeDamage
PHP код:
new Float:HP;
GetPlayerHealth(playerid,HP);
SetPlayerHealth(playerid,HP+amount);