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

ingame map voting event ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jaylow
Junior Member
Join Date: Dec 2021
Old 01-18-2022 , 06:26   ingame map voting event ?
Reply With Quote #1

I am after an event which will fire when a map vote has been successful?

Like something like this

i need it to specifically only get the in game map votes that have been successful

PHP Code:

public void OnPluginStart()
{
    
HookEvent("map_vote_passed"VotePassed);
        
// I know there is a vote passed event (HookEvent("vote_passed", VotePassed);)
}


public 
Action VotePassed(Event event, const char[] sNamebool bDontBradcast)
{

        
PrintToChatAll("Map vote has been succesfull");


Jaylow 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 18:00.


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