10.11.2015, 04:16
Hey, I'm trying to make a death system when player gets damage, it will notify the people around and himself who shoot who, here is the code.
But I can't use the Killerid, because it's not in the public itself.
Код:
// DEATH SYSTEM // if(weaponid == 24 && hittype == BULLET_HIT_TYPE_PLAYER) //HIT PLAYER WITH DEAGLE { SendNearbyMessage(playerid, 20.0, COLOR_GREY, "(( Death: %s was injured by %s {Desert Eagle}. ))", ReturnName(killerid), ReturnName(playerid)); }