Is it possible?
#1

Is it possible to have unlimited number of lines in a userfile (MDC system), and every time the file is read, it would SendClientMessage for every line?

Like: /mdc add John Doe
*John_Doe.txt is created*
/mdc add crime John Doe Loitering
*A line stating the time and crime name would be added to the John_Doe.txt*
/mdc view John_Doe
*John Doe ----------*
*Crimes-------------*
*[22/12/2011 15:32:12] Loitering*


So basically, how to loop and read every line and show it?
Reply
#2

Yes it is, just make a lot of lines :P
Reply
#3

its possible.

https://sampwiki.blast.hk/wiki/Fread
Reply
#4

Thank you.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)