Raised This Month: $12 Target: $400
 3% 

[CSGO] Death Message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tank_in_Pink
Member
Join Date: Feb 2016
Old 03-11-2018 , 07:00   [CSGO] Death Message
Reply With Quote #1

Hey guys,


I'm searching for a plugin which displays a customizable message either in chat or as a menu (a close option would be nice) to a player after he dies.

I searched for a while but couldn't find anything.

If you know a plugin like that it would be awesome if you could link it ;)


Thanks already,
hazetank

Last edited by Tank_in_Pink; 03-11-2018 at 07:00.
Tank_in_Pink is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 03-11-2018 , 07:20   Re: [CSGO] Death Message
Reply With Quote #2

what do you want displayed?
__________________
8guawong is offline
Tank_in_Pink
Member
Join Date: Feb 2016
Old 03-11-2018 , 11:26   Re: [CSGO] Death Message
Reply With Quote #3

Quote:
Originally Posted by 8guawong View Post
what do you want displayed?
Something like "You are dead and will be respawned in 10 seconds." would be nice :D
Tank_in_Pink is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 03-11-2018 , 13:46   Re: [CSGO] Death Message
Reply With Quote #4

PHP Code:
public OnPluginStart()
{
    
HookEvent("player_death"Event_PlayerDeath);
}

public 
Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
    new 
client GetClientOfUserId(GetEventInt(event"userid"));
    
PrintToChat(client "You are dead and will be respawned in 10 seconds.");

__________________
8guawong is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode