Raised This Month: $ Target: $400
 0% 

Get value from ini file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 03-03-2017 , 02:58   Get value from ini file
Reply With Quote #1

Hello. So I made an ini file where all the models are stored, it looks like that "model" "skin" .
For each model, a skin value is assigned. 0 means it has no skins, 1 means it has skins. What's the easiest way to check if the current g_skins , depending on the menu item that was selected, has the value 0 or 1? If the value is 0, I will make it change the player model and assign the skin 0, if it is 1, it will open up a new menu where u can select the skin that u want for the model. I will do all of this, I jsut need a way to easely get the value. Thanks!
DarthMan 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 21:00.


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