Damage system
#1

Hi,

How to create that when i shoot to player i could see how much tamage take in label, that label will go up and display like in Counter Strike.
Reply
#2

like this ?
Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
                new string[20];
		format(string,sizeof(string),"-%.0f hp",amount);
		SetPlayerChatBubble(playerid,string,COLOR_RED,150.0,2500);
		PlayerPlaySound(issuerid,  17802, 0.0, 0.0, 0.0);
     return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)