File problems
#1

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.
Reply
#2

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

Reply
#3

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.
Reply
#4

Ok, i just tried to compile it. NEVER ignore warnings (in the compiler output window), fix them first, and then, test it again.
Reply
#5

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
Reply
#6

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?
Reply
#7

There are tons of scripts which uses files, why not looking in them?
Reply
#8

I saw them, but they still can not do :S
I wanted to know what is wrong in my script.
Reply
#9

Help please.
Reply
#10

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)