bleeding system
#1

i want a rp bleeding system which is if your health is 35 you will start bleeding,if ur bleeding each 5 seconds it will send him a message:You Are Bleeding!,and each 5 seconds it gives his -8 hp,how to do it?
Reply
#2

Mmm ask much D:
Reply
#3

i have made like this but it shows an error about if(health > 35)...
//Bleeding...
GetPlayerHealth(playerid, health);
if(health > 35)
{
SetPlayerHealth(playerid, health-10);
}
Reply
#4

You should make it under "OnPlayerTakeDamage" with a timer what will check players health example ever 2 seconds and if health is lower thank 35 to send him message and take his health (2-4hp) every cople of seconds
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)