PHP Code:
stock const CheatReports[128][128]
public CheckCheatReport(id)
{
new said[192]
cheater_banned = 0
new i, j
new cheatername[32]
get_user_name(id, cheatername, 32)
read_args(said, 192)
for(i = 0 ; i < sizeof (CheatReports) ; i++)
{
if(containi(said, CheatReports[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
__________________