27.05.2011, 19:52
A Litle Question here. I tried to make a command today that reads from samp.ban
However i noticed something:
file_read does not read from every single line, like the normal system does.
Examples:
With the normal file system, you can do that and i will print every different result.
With your plugin, i tried this command like
!bans 127.0.0.1
and it showed a ban, but it was the same ban like 10 times.
:/
However i noticed something:
file_read does not read from every single line, like the normal system does.
Examples:
Код:
while(file_read("samp.ban",str)) { if(strfind(str,params) != -1) { print(str); } }
With your plugin, i tried this command like
!bans 127.0.0.1
and it showed a ban, but it was the same ban like 10 times.
:/