Raised This Month: $ Target: $400
 0% 

Solved Checking weither server or admin is kicking


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 05-27-2018 , 14:27   Re: Checking weither server or admin is kicking
Reply With Quote #1

The most unsure way is to check their drop message.
If the reason contains words kicked/banned stuff n things.
-
You can create a CreateMultiForward & set specific args to catch.
So on main admincmd script file you create a forward which is sticked at kick/ban function.
Inside the forward you can catch admin id, victim id & a bool to detect before kick/ban or after.
After this is done you use this forward in any plugin and that will call itself as soon as amx_kick/ban functions is called.
__________________
Relaxing 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 04:36.


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