Raised This Month: $ Target: $400
 0% 

Solved Searching in a text file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
WHOOHOO
Junior Member
Join Date: Aug 2016
Old 08-21-2020 , 14:31   Searching in a text file
Reply With Quote #1

Okay, I already read a lot of articles about working with files in pawn and I'm sure it's out there somewhere but I'm frustrated of trying and failing at this so can someone help me please?
I have a text file and each line is consists of a map name, and a number, So it would be something like this:
Code:
de_dust2 123
de_inferno 444
de_nuke 12333
de_mirage 951
and the list goes on and on
I basically want to search for the map name and grab that number, Not sure how can I do that.

Last edited by WHOOHOO; 08-30-2020 at 08:24. Reason: I figured it by myself and I changed the title so if anyone had the same problem they could find it.
WHOOHOO 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 13:44.


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