Damage system
#1

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?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=383020

You can use that FS

Or this tut

https://sampforum.blast.hk/showthread.php?tid=330005
Reply
#3

Quote:
Originally Posted by Micko123
Посмотреть сообщение
Dude, it only take damage, not armour!
Reply
#4

Код:
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
Reply
#5

Quote:
Originally Posted by Micko123
Посмотреть сообщение
That is retarded you are giving him useless old ass shit.

https://sampforum.blast.hk/showthread.php?tid=563387
Reply
#6

Quote:
Originally Posted by Pottus
Посмотреть сообщение
That is retarded you are giving him useless old ass shit.

https://sampforum.blast.hk/showthread.php?tid=563387
How to install it?
Reply
#7

That "useles old shit" works
Reply
#8

Im so confused... someone can make me the code?
Reply
#9

I use this: https://sampforum.blast.hk/showthread.php?tid=275461
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)