View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-14-2013 , 12:55   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.6.1, 2013-02-11)
Reply With Quote #7

So, here's something new to test.

It's called NativeVotes BaseCommands. Basically, it adds NativeVotes support for /revote and /votecancel (and their alternates). /votecancel uses the sm_votecancel override, just like the SourceMod votecancel does.

It also adds Cancel Vote to the Voting Commands admin menu when a NativeVotes vote is running.

Known bugs:
  1. If a SourceMod vote and a NativeVotes vote are running at the same same, Cancel Vote will appear in the admin menu twice.
  2. If SourceMod's basecommands isn't loaded, you may get "Unknown command" errors in certain situations. This plugin is meant to complement basecommands, not replace it.
  3. There is a 2 second delay on the !revote command. This is due to the games themselves requiring a Cancel box be shown before a new vote can be registered.
Attached Files
File Type: sp Get Plugin or Get Source (nativevotes-basecommands.sp - 932 views - 4.6 KB)
File Type: smx nativevotes-basecommands.smx (5.1 KB, 862 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-14-2013 at 13:11. Reason: Updated source attachment to include license header
Powerlord is offline