Raised This Month: $ Target: $400
 0% 

VoteBan + HD_Ban


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SivAnOl
Junior Member
Join Date: Jan 2013
Old 01-27-2013 , 17:00   Re: VoteBan + HD_Ban
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
You just need to change the code in the switch() on line 204 to match up with your needs. Then, you add the appropriate code to the case that will execute what you want done.
True, but there "case 1-2" and default.
On top of all this plugin does not understand how to ban Commando "hd_ban" (hd_ban% userid%% time%% reason%).
Namely, there is no variable "% reason%", "% time%" and "% userid%".
This means that the command will be given is not true.
And I tried to substitute:
Code:
  case 2:
  server_cmd ("amx_ban% d% %s Voteban", get_pcvar_num (gi_BanTime), ga_PlayerAuthID [Selected])
is:
Code:
  case 2:
  server_cmd ("hd_ban% s% %d Voteban", get_pcvar_num (gi_BanTime), ga_PlayerAuthID [Selected])
And did not help.

Last edited by SivAnOl; 01-27-2013 at 17:00.
SivAnOl is offline
 



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 20:41.


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