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

Voting plugin sourcebans compliance


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alphaearth
Senior Member
Join Date: Feb 2018
Location: Turkey
Old 01-26-2019 , 20:19   Voting plugin sourcebans compliance
Reply With Quote #1

If the result of the voting yes is sending commands to the console. The player is banned. The plug-in sends a command to the console, and it appears as the authorized console on the sourcebans page. After the ban has been thrown, on the sourcebans page, I want the author to write down the banning authority. Could you help?
The source file is below.
Attached Files
File Type: sp Get Plugin or Get Source (Vote_Kick_Ban.sp - 197 views - 18.2 KB)
__________________
alphaearth is offline
alphaearth
Senior Member
Join Date: Feb 2018
Location: Turkey
Old 01-31-2019 , 03:08   Re: Voting plugin sourcebans compliance
Reply With Quote #2

I made the command special to the authority. but the players can use the commands. can you also help with this?
__________________
alphaearth is offline
farawayf
Senior Member
Join Date: Jan 2019
Old 02-01-2019 , 07:52   Re: Voting plugin sourcebans compliance
Reply With Quote #3

PHP Code:
RegAdminCmd("sm_banoyla"Ban_OylaADMFLAG_RESERVATION);
RegAdminCmd("sm_kickoyla"Kick_OylaADMFLAG_RESERVATION); 
there is a reserve slot flag "a" which means VIPs or players with a reserve slot can use command.

Last edited by farawayf; 02-01-2019 at 07:52.
farawayf 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 13:08.


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