Raised This Month: $ Target: $400
 0% 

Advanced Rules Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author
psychonic

BAFFLED
Join Date: May 2008
Plugin ID:
1156
Plugin Version:
1.3
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Creates a customized rules menu from a .cfg file .
    Old 12-27-2009 , 22:01   Re: Advanced Rules Menu
    Reply With Quote #1

    @neo_gis

    Please use Sourcemod's BuildPath() function rather than hardcoding the Sourcemod directory path.

    Ex.
    PHP Code:
    FileToKeyValues(kv"addons/sourcemod/configs/rules.cfg"); 
    becomes
    PHP Code:
    decl String:rulespath[PLATFORM_MAX_PATH];
    BuildPath(Path_SMrulespathsizeof(rulespath), "configs/rules.cfg");
    FileToKeyValues(kvrulespath); 
    psychonic is offline
    neo_gis
    Member
    Join Date: Sep 2009
    Location: Rabat
    Old 04-05-2010 , 15:00   Re: Advanced Rules Menu
    Reply With Quote #2

    Hello all ,

    Sry been inactive for a long time , ill try to update this asap !
    __________________
    neo_gis is offline
    Send a message via MSN to neo_gis Send a message via Skype™ to neo_gis
    neo_gis
    Member
    Join Date: Sep 2009
    Location: Rabat
    Old 04-05-2010 , 16:49   Re: Advanced Rules Menu
    Reply With Quote #3

    UPDATED !
    __________________
    neo_gis is offline
    Send a message via MSN to neo_gis Send a message via Skype™ to neo_gis
    Reply



    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:21.


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