Kill feed help? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Kill feed help? (
/showthread.php?tid=283436)
Kill feed help? -
Blunt - 14.09.2011
Well my script doesn't show the Kill Feeds down the lower right sided part of the screen, Is that anything to do with Scripting or is it just a SA-MP bug?
If it's a scripting thing, Could i get the code?
Re: Kill feed help? -
Babul - 14.09.2011
yep. its a simple scripted thing:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid!=INVALID_PLAYER_ID)
{
SendDeathMessage(killerid, playerid, reason);
}
return 1;
}
you may find these links useful:
https://sampwiki.blast.hk/wiki/SendDeathMessage
pay attention to the id 200 and 201. you can show a player connecting/disconnecting in that list too!
https://sampwiki.blast.hk/wiki/Weapons
edit: as =WoR=Bruno stated, you can switch the list on/off. but i doubt that you press that key, since you dont see any change when nothing got displayed... its F9 btw ^^
Re: Kill feed help? -
=WoR=Bruno - 14.09.2011
You can disble it ingame....by pressing F something ^^
Anyway...Under OnPlayerDeath
Код:
SendDeathMessage(killerid, playerid, reason);
Re: Kill feed help? -
d0nTtoucH - 24.07.2014
can someone tell me how to put timer ? i want it to hide after 15 seconds
Re: Kill feed help? -
SpikY_ - 24.07.2014
= WoR = plz see my pm