File problems - 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: File problems (
/showthread.php?tid=66407)
File problems -
Zaumao - 21.02.2009
Hello! I made a filterscript to train the function of file.
I did as the instructions from the wiki (
https://sampwiki.blast.hk/wiki/File_Functions ), only modified what would be considered wrong.
When I was testing the filterscript he printed "While loop", then it can not deduct it in the function to read the file. I do not know what can be. Please need help it!
Filterscript:
http://pastebin.com/m4241173a
Thanks and excuse me for my bad English.
Re: File problems -
yom - 21.02.2009
Hi,
First you say that it prints "While loop", but then, looking the script, it say: print("While loop"); // >>>>>>>>>>>>>>> does not print
So, where exactly it stops working?
Explain this part because i don't know what you mean:
Quote:
then it can not deduct it in the function to read the file
|
Re: File problems -
Zaumao - 21.02.2009
My English is very bad, I have trouble expressing myself = /
I just want to know why not print ... If you are not printing, is certainly not because the loop is occurring, right?
Thank you.
Re: File problems -
yom - 21.02.2009
Ok, i just tried to compile it. NEVER ignore warnings (in the compiler output window), fix them first, and then, test it again.
Re: File problems -
Zaumao - 21.02.2009
Thanks, but the problem is not reading the file. Just what I get. For example... File 1 is written in "blabla", I wanted him to read "blabla", but not read
Re: File problems -
Zaumao - 21.02.2009
http://pastebin.com/m4b512388
In this script, I just put the content in the wiki.
But still not working! Nothing is written in the file "FTest.txt.
What can be?
Re: File problems -
yom - 23.02.2009
There are tons of scripts which uses files, why not looking in them?
Re: File problems -
Zaumao - 24.02.2009
I saw them, but they still can not do :S
I wanted to know what is wrong in my script.
Re: File problems -
Zaumao - 24.02.2009
Help please.
Re: File problems -
Zaumao - 25.02.2009