Hit Points
#1

Guyss.. i wanna make a code in which when i hit someone with some gun.. the amount of damage im doing should come on their head..

Also i wanna send a client message to the person who dies after the whole battle about how he died and what was his killer's Health
Reply
#2

This isn't a script request section, you can find the thread here.
Reply
#3

im not asking for someone to make the code for me and give it to me.. i just want little help in the functions. im not aware of them.. and some little logic
Reply
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new aKiller[MAX_PLAYER_NAME];
    GetPlayerName(killerid, aKiller, sizeof(aKiller));
    SendClientMessage(playerid, "[~] [ID: %i]%s killed him, with a gun » ID:[%d]", killerid, aKiller,  GetPlayerWeapon(killerid));
    return 1;
}
Reply
#5

"the amount of damage im doing should come on their head.." You mean head=more damage, arms=normal damage, body=same damage, or you mean some TextDraws when you get damage from someone?[on his head the textdraw]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)