15.05.2016, 08:52
I want to make realistic damage system for my TDM server but it only will take the health and wonґt work when player have armou, any suggest?
|
https://sampforum.blast.hk/showthread.php?tid=383020
You can use that FS Or this tut https://sampforum.blast.hk/showthread.php?tid=330005 |
Float:Armour;
GetPlayerArmour(playerid,Armour);
if( Armour > 0)
{
SetPlayerArmour(playerid,amount);
}
else
{
SetPlayerHealth(playerid,amount);
}
Check his armout first if his armout greater than 0 then remove his armout first ..
and else if he have no armour mean armout = 0 set his health to the amount of damage which he got under OnPlayerTakeDamage
|
https://sampforum.blast.hk/showthread.php?tid=383020
You can use that FS Or this tut https://sampforum.blast.hk/showthread.php?tid=330005 |
|
That is retarded you are giving him useless old ass shit.
https://sampforum.blast.hk/showthread.php?tid=563387 |