View Single Post
Owyn
Veteran Member
Join Date: Nov 2007
Old 04-10-2009 , 10:39   Re: while i++ == containi[i] problem, i need to skip letters
Reply With Quote #25

i just change all i to i + k for that

why none of my code works? lol
PHP Code:
if ( equal("> "said2) ) 
and

PHP Code:
new said[6], 00
    read_argv
(1said5)
    
    if(
said[i] == '>')
    {
        
k++
        
k++
        
log_amx("> ! conditon 1 met k = %d"k)
    } 
    
    
    while (
said[k] == '!')
    {
        
i++
        
log_amx("> ! conditon 2 met ! found i = %d"i)
    }
    
    if (!
|| 3)
    {
        
log_amx("> ! conditon error met i = %d"i)
        return 
PLUGIN_CONTINUE
     
    

condition 2 is never met, it checks wrongs letters or i don't know what
code that does not work )=
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.

Last edited by Owyn; 04-10-2009 at 10:50.
Owyn is offline
Send a message via ICQ to Owyn