Raised This Month: $32 Target: $400
 8% 

Solved [CSGO]How to exec a code if client gets assist of a kill?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cruze
Veteran Member
Join Date: May 2017
Old 09-20-2018 , 13:06   [CSGO]How to exec a code if client gets assist of a kill?
Reply With Quote #1

couldn't find this, help please
__________________
Taking paid private requests! Contact me

Last edited by Cruze; 09-20-2018 at 13:16.
Cruze is offline
Vaggelis
Senior Member
Join Date: May 2017
Old 09-20-2018 , 13:09   Re: [CSGO]How to exec a code if client gets assist of a kill?
Reply With Quote #2

PHP Code:
#include <sourcemod>

public OnPluginStart()
{
    
HookEvent("player_death"Event_PlayerDeath)
}

public 
Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
    new 
assister GetClientOfUserId(GetEventInt(event"assister"))


Last edited by Vaggelis; 09-20-2018 at 13:10.
Vaggelis is offline
Cruze
Veteran Member
Join Date: May 2017
Old 09-20-2018 , 13:16   Re: [CSGO]How to exec a code if client gets assist of a kill?
Reply With Quote #3

Quote:
Originally Posted by Vaggelis View Post
PHP Code:
#include <sourcemod>

public OnPluginStart()
{
    
HookEvent("player_death"Event_PlayerDeath)
}

public 
Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
    new 
assister GetClientOfUserId(GetEventInt(event"assister"))

Thank you!
__________________
Taking paid private requests! Contact me
Cruze is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 09-20-2018 , 18:01   Re: [CSGO]How to exec a code if client gets assist of a kill?
Reply With Quote #4

http://bfy.tw/JzMY
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Cruze
Veteran Member
Join Date: May 2017
Old 09-21-2018 , 00:34   Re: [CSGO]How to exec a code if client gets assist of a kill?
Reply With Quote #5

Quote:
Originally Posted by eyal282 View Post
Thank you!!
__________________
Taking paid private requests! Contact me
Cruze is offline
Reply



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 22:52.


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