Raised This Month: $23 Target: $400
 5% 

VoteMapExtend for KZTimer V1.2 [04/06/2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Plugin ID:
7143
Plugin Version:
1.2
Plugin Category:
All
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A remake of this https://forums.alliedmods.net/showthread.php?t=319935 , Extend map plugin designed for the KZTimer plugin
    Old 06-01-2020 , 10:21   VoteMapExtend for KZTimer V1.2 [04/06/2020]
    Reply With Quote #1

    Description:
    ➤ A remake of this https://forums.alliedmods.net/showthread.php?t=319935 , Extend map plugin designed for the KZTimer plugin.
    ➤ You can set through cfg/sourcemod/KZ-Timer_ExtendMap.cfg the Cvar called "sm_kztimer_rank_required" to whatever KzTimer rank you want to be able to use the VoteMapExtend command (all the rank above will be able to use the command too).


    How to install:
    ➤ Copy Kz-Timer_ExtendMap.smx to addons/sourcemod/plugins
    ➤ Change the map or restart your server.
    ➤ Have Fun.

    Commands:
    ➤ sm_ve <minutes> | Starts the vote map extend to the amount of minutes typed in the command.
    ➤ sm_voteextend <minutes> | Starts the vote map extend to the amount of minutes typed in the command.
    ➤ sm_extendmap <minutes> | Forces the extend map to the amount of minutes typed in the command. (Admins only-"ADMFLAG_GENERIC")
    ➤ If an amount of minutes wasn't typed, the default amount of map time extend will be used. 10 minutes by default. Changeable through cfg/sourcemod/KZ-Timer_ExtendMap.cfg
    The Cvar called "sm_map_extend_time".

    Cvars:
    ➤ sm_kztimer_rank_required | 0=NORANK,1=NEWB,2=SCRUB,3=TRAINEE,4=CASUAL,5= REGULAR,6=SKILLED,7=EXPERT,8=SEMIPRO,9=PRO (default : 6)
    ➤ sm_map_extend_time | The default amount of map time extend in minutes. (default : 10)
    ➤ sm_admin_immunity | 1-Enable 0-Disable Admin can bypass the KzTimer rank required for the vote extend map. (default : 1)
    ➤ sm_cooldown_time | Cooldown for the VoteExtend command. Usage: The amount of second between each try of the command . 0.0-Disable. (default : 300.0)
    ➤ sm_display_vote_time | The amount of seconds the VoteExtend map is being displayed to all players. (default : 15)
    ➤ Changeable through cfg/sourcemod/KZ-Timer_ExtendMap.cfg

    Note:
    ➤ Since I'm new to SourcePawn, taking any improvement suggestions.

    Download links:
    KZTimer
    GitHub Download Link

    Contact:
    My Discord: WilDick#1524
    My Steam Profile

    Credits:
    Ilusion9
    OfficialSikari - for helping me to improve my code.

    Versions:
    ➤ 1.0 - First release [01/06/2020]
    ➤ 1.1 - Fixed some issues with the code [03/06/2020]
    ➤ 1.2 - Added the option to use custom amount of time for the Vote extend and the extendmap commands [04/06/2020]
    Attached Files
    File Type: zip Kz-Timer_ExtendMapV1.2.zip (37.5 KB, 29 views)

    Last edited by SSheriFF; 06-14-2020 at 10:31.
    SSheriFF is offline
    SSheriFF
    AlliedModders Donor
    Join Date: May 2020
    Location: Israel
    Old 06-03-2020 , 14:13   Re: VoteMapExtend for KZTimer
    Reply With Quote #2

    Updated the code and fixed some issues.
    __________________
    SSheriFF 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 01:47.


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