SA-MP Forums Archive
Read from a file - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Read from a file (/showthread.php?tid=195967)



Read from a file - eDz0r - 04.12.2010

I need to read Things from a file..... and i don't know how....

The file look like this

Код:
1112.1404,-742.0350,100.1329,224.288,1289.1907,1082.1406,1,1,0,The State,2 Bedrooms,20,0
i need to extract "The State" and "2 Bedrooms"

at enum is

Код:
HouseInfo[houseid][hOwner],
HouseInfo[houseid][hDescription],
so how?