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

AMX Random Map - Version 1.1 [8/31/09]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 08-31-2009 , 09:23   AMX Random Map - Version 1.1 [8/31/09]
Reply With Quote #1

AMX Random Map v1.1
BOYSplayCS

Description:

Admins can now use a single command to randomly change the map. It works by the plugin reading all the lines from the file 'mapcycle.txt' and then randomly choosing one.


Admin Commands:

  • amx_random_map (Required: ADMIN_MAP)
    • Important Note: Make sure there are maps listed inside your mapcycle.txt or nothing will happen.

Requirements:

  • AMX Mod X (version 1.8.1 or higher)

Credits:

  • Exolent - Major Coding Help
  • Arkshine - Coding Help

Changelog:
  • Version 1.0
    • Initial Release.
  • Version 1.1
    • Added FCVAR_SERVER and FCVAR_SPONLY for tracking.
    • Removed having to type '1' after amx_random_map.
    • Added fclose() to close the reading of the file.
    • Optimized code.

Installation Help:

* Place amx_random_map.amxx in your \account-name\counter-strike\cstrike\addons\amxmodx\plugins folder.

* Add amx_random_map.amxx to your plugins.ini file.
Attached Files
File Type: sma Get Plugin or Get Source (amx_random_map.sma - 1215 views - 2.0 KB)

Last edited by BOYSplayCS; 08-31-2009 at 10:48. Reason: New version: 1.1
BOYSplayCS 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 07:40.


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