Problem i came Up to
#1

I'm developing a house system with a line by line reading system. The reading system is fine, but i don't see how i could change a value now

E.g. of what i mean

I create a house and enter this in my houses.txt

Код:
1,5.255,5555,555
1,5.267,252.52,52525 // what i wanna change
1,5.22,52,525.2,522
Something like that, Now how would i modify...Forexample the first Parameter ACCURATELY, so that if some Parameters match, they wont get tangled up?
Reply
#2

I never really understood how they explained it on the wiki about changing individual lines of a file. You could always use dini or dJson or whichever the newest one is I can't really remember. You can also check this out and see if it helps. https://sampwiki.blast.hk/wiki/File_Functions
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)