AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Read file problem. (https://forums.alliedmods.net/showthread.php?t=111256)

ILUSION 12-09-2009 15:51

Re: Read file problem.
 
Solved. The problem was:

PHP Code:

public hook_say(id)
{
    new 
text[255]
    
read_args(textcharsmax(text))
    
    for (new 
0MAXi++)
        if (
containi(textIP[i]) != -1)
            return 
0
        
else
            return -
1
    
    
return 0


-->

PHP Code:

public hook_say(id)
{
    new 
text[255]
    
read_args(textcharsmax(text))
    
    for (new 
0<= LineCounti++)
        if (
containi(textIP[i]) != -1)
            return 
0
    
    
return -1


Thanks Arkshine and AntiBots :)


All times are GMT -4. The time now is 11:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.