Raised This Month: $ Target: $400
 0% 

[ SOLVED ] Make .ini or .cfg file to plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Old 11-16-2015, 10:27
CrazY.
This message has been deleted by CrazY..
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-15-2015 , 20:47   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #2

By looking at the code.
__________________
Bugsy is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-15-2015 , 20:51   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
By looking at the code.
When you give them exactly what they want, they won't have any incentive to learn.

If you give a man a fish . . .
__________________

Last edited by fysiks; 11-15-2015 at 20:51.
fysiks is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-15-2015 , 20:49   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #4

Nice sharing, Bugsy. I also can learn from it. ;)
zmd94 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-15-2015 , 21:17   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #5

I know what you're getting at, but that doesn't mean that someone can't learn from what you hand to them. Plus you're throwing all of this 'well that's actually not a cfg file' stuff at him--you know what he is asking for why get so technical? Technically it is configuring which weapons the plugin will use so it can be considered a config file even if it's not the same format as one used to set cvars for HLDS.
__________________
Bugsy is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-16-2015 , 09:06   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #6

Thank Bugsy, I will study well your code.
fysiks, in this case it is better to post the entire code because I have not found another way to understand how the configuration system, now it was a simple case, just drive me there is something I try to do, you do not want help, beauty, but do not criticizing the way to teach other people...
__________________









Last edited by CrazY.; 11-16-2015 at 09:11. Reason: '-'
CrazY. is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-16-2015 , 18:31   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #7

Quote:
Originally Posted by CrazY. View Post
Thank Bugsy, I will study well your code.
fysiks, in this case it is better to post the entire code because I have not found another way to understand how the configuration system, now it was a simple case, just drive me there is something I try to do, you do not want help, beauty, but do not criticizing the way to teach other people...
The code that I told you to look at does EXACTLY the same thing that you are wanting to do here. Just giving people code is not teaching when the code is practically trivial and you've already been given an example of what you asked for.
__________________
fysiks is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 11-18-2015 , 18:15   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #8

Quote:
Originally Posted by fysiks View Post
The code that I told you to look at does EXACTLY the same thing that you are wanting to do here. Just giving people code is not teaching when the code is practically trivial and you've already been given an example of what you asked for.
Quote:
You just need to convert it for your purpose
He doesnt want to do anything, bugsy provided him a full code. => 0 work.

Do you get it now?.
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 11-18-2015 at 18:16.
SkumTomteN is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-18-2015 , 20:41   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #9

Quote:
Originally Posted by SkumTomteN View Post
He doesnt want to do anything, bugsy provided him a full code. => 0 work.

Do you get it now?.
I find it amusing that you don't know that I know that . Laziness and entitlement plague humanity today and will ultimately lead to the demise of the civilized world.
__________________
fysiks is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-16-2015 , 11:33   Re: [ HELP ] Make .ini or .cfg file to plugin?
Reply With Quote #10

There is a tutorial: https://forums.alliedmods.net/showthread.php?t=46218
It may be a bit outdated, didn't read it since loong time, but it may help you to understand better.
__________________
HamletEagle 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 18:15.


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