03.03.2015, 23:18
This is actually easy to make.
You only need these callbacks / functions :
ApplyAnimation(playerid, "PED", "BIKE_fall_off", 4.0, 0, 1, 1, 0, 0, 1);
OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart) ( if amount > 30 .... )
TogglePlayerControllable(playerid, 0) https://sampwiki.blast.hk/wiki/TogglePlayerControllable
clearanimations ( after revived. )
TogglePlayerControllable(playerid, 1) to let them play again.
You just need to look, all these are available in the samp wiki.
You only need these callbacks / functions :
ApplyAnimation(playerid, "PED", "BIKE_fall_off", 4.0, 0, 1, 1, 0, 0, 1);
OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart) ( if amount > 30 .... )
TogglePlayerControllable(playerid, 0) https://sampwiki.blast.hk/wiki/TogglePlayerControllable
clearanimations ( after revived. )
TogglePlayerControllable(playerid, 1) to let them play again.
You just need to look, all these are available in the samp wiki.