Raised This Month: $ Target: $400
 0% 

contatini() and its realisation in some plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 08-15-2009 , 12:05   some question about contatini() and its realisation in some plugin
Reply With Quote #1

PHP Code:

stock 
const CheatReports[128][128

public 
CheckCheatReport(id)
{
    new 
said[192]
    
cheater_banned 0
    
new ij
    
new cheatername[32]
    
get_user_name(idcheatername32)
    
read_args(said192)
    for(
sizeof (CheatReports) ; i++)
    {
         if(
containi(saidCheatReports[i][j]) != -1)
        {
            if(
cheater_banned == 0)
            {
                
Ban(id)                        
            }
        }
    }        


was wondering what is "j" about? what it does?
i is the line number and j is allways null, thougt it's a size, means that only 1st symbol is checking but it's not, maybe it is becose of the array type? i'm not really into data types
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:00.


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