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

Maps.ini modification


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 04-23-2018 , 09:32   Maps.ini modification
Reply With Quote #1

I need a plugin which reads maps.ini and choose 3 maps and store in array and then vote should be taken on using command /vote and after successfully vote taken store those maps name in lastmaps.txt file so you dont vote same maps again , i think this is enough for explaining plugin logic.

Basically i dont want same maps to be repeated on vote.
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 04-23-2018 , 09:43   Re: Maps.ini modification
Reply With Quote #2

Read lall lines from a file and then pack it up using ArrayPushCell. Take a look at HamletEagle's tutoral.
__________________
Relaxing is offline
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 04-23-2018 , 17:00   Re: Maps.ini modification
Reply With Quote #3

I am lazy af so if any one can make it thats better which i requested to save time rather than reading and all. Ty
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 04-23-2018 , 17:43   Re: Maps.ini modification
Reply With Quote #4

Take you time, I'm lazy too budd', I read API reference while I'm at school learning bullshit. That's my free time.
__________________
Relaxing is offline
Reply


Thread Tools
Display Modes

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:07.


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