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

listmaps in menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 01-12-2012 , 18:10   listmaps in menu
Reply With Quote #1

how can i get all the map name in my cstrike/maps folder and put the name in menu?
__________________
My Plugins

C4man with fun

Sniper Skill bonus
-------------------------
Sorry for my poor English!

Last edited by biscuit628; 01-12-2012 at 18:11.
biscuit628 is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 01-12-2012 , 18:44   Re: listmaps in menu
Reply With Quote #2

Quote:
Originally Posted by biscuit628 View Post
how can i get all the map name in my cstrike/maps folder
In the console of the servers, say maps <substring>

Example: maps de or maps cs
__________________

Last edited by kramesa; 01-12-2012 at 18:47.
kramesa is offline
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 01-12-2012 , 19:07   Re: listmaps in menu
Reply With Quote #3

Quote:
Originally Posted by kramesa View Post
In the console of the servers, say maps <substring>

Example: maps de or maps cs
it's nothing to help for my question.
__________________
My Plugins

C4man with fun

Sniper Skill bonus
-------------------------
Sorry for my poor English!
biscuit628 is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 01-12-2012 , 19:13   Re: listmaps in menu
Reply With Quote #4

Quote:
Originally Posted by biscuit628 View Post
it's nothing to help for my question.
You go to the folder of maps, and is looking at and writing in maps.ini. Simple.
__________________
kramesa is offline
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 01-12-2012 , 21:53   Re: listmaps in menu
Reply With Quote #5

how can i get all the map name in my cstrike/maps folder and put the name in menu?
__________________
My Plugins

C4man with fun

Sniper Skill bonus
-------------------------
Sorry for my poor English!
biscuit628 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-12-2012 , 22:40   Re: listmaps in menu
Reply With Quote #6

Just like kramesa said ... type all of the map names in maps.ini ...
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 01-12-2012 , 23:10   Re: listmaps in menu
Reply With Quote #7

Are you making a plugin that should do that
or are you talking about the default maps menu ?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 01-12-2012 , 23:22   Re: listmaps in menu
Reply With Quote #8

You can read contents of a directory using open_dir and next_file
__________________
Impossible is Nothing
Sylwester is offline
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 01-13-2012 , 04:58   Re: listmaps in menu
Reply With Quote #9

Quote:
Originally Posted by drekes View Post
Are you making a plugin that should do that
or are you talking about the default maps menu ?
making a plugin.
__________________
My Plugins

C4man with fun

Sniper Skill bonus
-------------------------
Sorry for my poor English!
biscuit628 is offline
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 05:46.


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