Raised This Month: $62 Target: $400
 15% 

NoSpread Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BaljeeT
New Member
Join Date: Feb 2019
Plugin ID:
6599
Plugin Version:
1.00
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 06-11-2019 , 07:23   NoSpread Menu
    Reply With Quote #1

    NoSpread Menu


    Hey guys!, So I build a plugin that opens No-Spread Menu

    Commands:
    PHP Code:
    sm_nospread 
    Installation:

    Move NoSpread.smx to "addons/sourcemod/plugins".

    Move NoSpread.sp to "addons/sourcemod/scripting".

    My Discord: .baljeet#0687
    Steam: https://steamcommunity.com/id/BaljeeTo/


    ScreenShot:
    Attached Files
    File Type: smx NoSpread.smx (5.2 KB, 6 views)
    File Type: sp Get Plugin or Get Source (NoSpread.sp - 26 views - 2.2 KB)

    Last edited by BaljeeT; 06-11-2019 at 08:24.
    BaljeeT is offline
    JoinedSenses
    Member
    Join Date: Sep 2013
    Old 06-12-2019 , 19:05   Re: NoSpread Menu
    Reply With Quote #2

    Thanks for the contribution.

    Something to note: Memory management is needed for handles within sourcepawn. Each time the command is used, a new menu is created. I suggest either creating the menu during OnPluginStart and never deleting the menu, or adding a check for MenuAction_End in the menu and calling delete on the menu.

    Code:
    else if (action == MenuAction_End)
    {
    	delete menu;
    }
    __________________
    JoinedSenses 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 03:07.


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