Kill feed help?
#1

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?
Reply
#2

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 ^^
Reply
#3

You can disble it ingame....by pressing F something ^^

Anyway...Under OnPlayerDeath
Код:
SendDeathMessage(killerid, playerid, reason);
Reply
#4

can someone tell me how to put timer ? i want it to hide after 15 seconds
Reply
#5

= WoR = plz see my pm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)