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

Bot Kill Vote


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
New and Clueless
Senior Member
Join Date: Dec 2015
Old 02-01-2018 , 13:31   Bot Kill Vote
Reply With Quote #1

Spoiler


or you can check original post here.

http://zppv.boards.net/thread/3447/bot-vote
Attached Files
File Type: sma Get Plugin or Get Source (botkillvote.sma - 861 views - 971 Bytes)
__________________

ANY SCRIPTER ON THIS FORUM HAS FREE VIP/ADMIN IN MY SERVER!
New and Clueless is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 02-09-2018 , 12:38   Re: Bot Kill Vote
Reply With Quote #2

So, the variable never resets, better reset it when kill func is executed.
if statement must contain two &&, @ kill func.
__________________
Relaxing is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-08-2020 , 06:03   Re: Bot Kill Vote
Reply With Quote #3

g_Votes is never reset, meaning you can only do one vote and then you need a map change/restart.
The condition at line 40 is also wrong(should be &&).

Unapproved.
__________________
HamletEagle is offline
Reply


Thread Tools
Display Modes

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:01.


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