View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-11-2013 , 15:57   Re: [L4D,L4D2,TF2,CSGO] NativeVotes [Beta] (v0.60, 2013-02-08)
Reply With Quote #4

Quote:
Originally Posted by eric0279 View Post
Hello,
Whoops. The callvote stuff isn't really done and I didn't comment it out. 0.6.1 should fix this. Let me know if it doesn't.

What's new in 0.6.1
  • Changed numbering scheme to 3 digit. 0.60 was a type on my part and kinda stuck; it needs to be 0.6.1 in the future for Updater compatibility (which isn't yet present).
  • Updated callvote handling. The forward declaration was missing the second argument and would cause errors when someone used the callvote command.
  • Updated NativeVotes_CallVoteHandler in .inc file. It now returns an Action. This was a design flaw; previously it was impossible for a registered vote manager to tell NativeVotes it wasn't handling a specific vote.

RegisterVoteManager still isn't written, but this fixes the actual handlers for when it is.
Attached Files
File Type: smx nativevotes.smx (32.3 KB, 573 views)
File Type: sp Get Plugin or Get Source (nativevotes.sp - 914 views - 43.1 KB)
File Type: inc nativevotes.inc (29.0 KB, 885 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-11-2013 at 16:31.
Powerlord is offline