This is why I break the loop:
[IMG]http://img856.**************/img856/7668/86684968.png[/IMG]
I used parse because the tutorial:
http://forums.alliedmods.net/showpos...96&postcount=1
Flags:
Mode uses the standard C library of mode types.
The first character can be:
"a" - append
"r" - read
"w" - write
The second character can be:
"t" - text
"b" - binary
Thanks !
PHP Code:
public asd_test(id)
{
new FileTextOpener, NewUserName[32], OldUserName[32], ReadData[128]
FileTextOpener = fopen(g_File, "rt")
if(FileTextOpener)
{
while( !feof(FileTextOpener) )
{
fgets(FileTextOpener,ReadData,127)
get_user_name(id, NewUserName, 31)
if(equal(NewUserName, OldUserName))
{
client_print(id, print_chat, "YES ! %s", NewUserName)
}
else
{
client_print(id, print_chat, "NO ! %s", NewUserName)
}
}
fclose(FileTextOpener)
}
return PLUGIN_HANDLED
}
Same, the script won't work