sourcemod-nativevotes
sourcemod-nativevotes copied to clipboard
NativeVotes SourceMod plugin
Fixed MvM mission votes from causing an Invalid forward handle due to not knowing how to handle vote overrides for mission changes.
I am getting a memory leak. ``` L 08/09/2019 - 16:45:46: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "nativevotes.smx") L 08/09/2019 - 16:45:46: [SM] Unloading plugin to free 9280 handles....
Quick-fix while alliedmodders/sourcemod#1041 gets sorted out. SourceMod doesn't seem to take kindly to a forward handle being deleted while it's being invoked, which is what `Handler_NV_MapVoteMenu` does with `NativeVote.Clear()` in...
Server crashes on tf2 MetaMod:Source v1.11.0-dev+1131V, SourceMod v1.11.0.6583
By using your base plugin as example i did the following plugin(code below) and vote doesn't start. `RegAdminCmd("DebugVote", GS, ADMFLAG_ROOT); public Action GS(client,args) { new Handle:vote = NativeVotes_Create(YesNoHandler, NativeVotesType_Kick); NativeVotes_SetInitiator(vote,...