Raised This Month: $ Target: $400
 0% 

New forward proposal for kicks?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 04-18-2016 , 13:04   New forward proposal for kicks?
Reply With Quote #1

Code:
forward OnKickClient(int client, const char[] reason);
Am I missing it somewhere or something like this? I'm coding a project that could use this extensively if it exists.

We can also do this maybe:
Code:
public void OnClientDisconnect(int client, bool kicked, const char[] kick_reason);
There might also be room here to see if they were kicked, banned or just disconnected so defines maybe?

Thanks,
- Person

Last edited by Drixevel; 04-18-2016 at 13:05.
Drixevel is offline
sheo
SourceMod Donor
Join Date: Jul 2013
Location: Russia, Moscow
Old 04-18-2016 , 18:11   Re: New forward proposal for kicks?
Reply With Quote #2

Check player_disconnect event, it contains all this info
__________________
sheo 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 06:56.


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