PDA

View Full Version : How to hide DeathMessage?


sony112502
19/04/2014, 10:03 AM
I send DeathMessage to player

but How do I hide the deathmessage?




Sorry, My English is not good...

Bingo
19/04/2014, 10:04 AM
Search for OnPlayerDeath callback,

Under that it would be there.

sony112502
19/04/2014, 10:12 AM
http://wiki.sa-mp.com/wroot/images2/c/c5/Killfeed.png

oh... I say i want to hide this message...

Bingo
19/04/2014, 10:24 AM
SendDeathMessage,

Remove those.

Djole1337
19/04/2014, 10:39 AM
Or you want just to clear them?

for (new i = 0; i != 5; ++i) SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);

sony112502
19/04/2014, 10:42 AM
Or you want just to clear them?

for (new i = 0; i != 5; ++i) SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);


thanks guy...

sony112502
19/04/2014, 02:37 PM
I try these code, but these code aren't working...

stock ClearDeathWindowForPlayer(playerid)
{
for(new i; i < 5; i++)
{
SendPlayerDeathMessage(playerid, INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);
}
}

AND

stock ClearKillFeed()
{
for(new i; i < 20; i++)
{
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);
}
}

Astralis
19/04/2014, 02:44 PM
SendDeathMessage(killerid,playerid,reason);

Just delete this from your script.

sony112502
19/04/2014, 02:49 PM
SendDeathMessage(killerid,playerid,reason);

Just delete this from your script.

lol... i just want to clean the deathmessage...

Not delete SendDeathMessage

Bingo
19/04/2014, 03:03 PM
lol... i just want to clean the deathmessage...

Not delete SendDeathMessage

Thats what i stated above,

Search it under OnPlayerDeath.

If you want to remove icons as you showed in pic then just delete this lines, SendDeathMessage(killerid,playerid,reason);

Zex Tan
19/04/2014, 03:27 PM
Hide the deathmessage? As in pressing F9 on your keyboard?

Or delete the death message? Like it deletes it first and comes back once a player died?