Raised This Month: $ Target: $400
 0% 

How I Can Make a Mapsmenu in a ini file?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 05-29-2010 , 23:22   Re: How I Can Make a Mapsmenu in a ini file?
Reply With Quote #1

Quote:
Originally Posted by #8 SickneSS View Post
I just want to know the methods, no to do it for me

EDIT: I Know how to make all ecept how to read the file.
Start reading the manual of file functions

http://www.amxmodx.org/funcwiki.php?go=inc&id=3

Then try to understand how it's done in other plugins (like mapchooser)
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-29-2010 , 23:51   Re: How I Can Make a Mapsmenu in a ini file?
Reply With Quote #2

When ever I consider making a plugin like this I always start without doing any file functions. Everything is hardcoded into a const. Get the menu working with the const first. THEN and only then I add the file reading. This way you know that you have something that works before you start screwing with files and makes it much easier to debug.

You can look at my bot apology plugin (in my sig) to see how simple file reading works.
__________________

Last edited by fysiks; 05-29-2010 at 23:53.
fysiks 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:25.


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