empty statement & undefined symbol "i"
#1

Can you help me

my callback
PHP код:
getRumahID()
{
    for(new 
i=0i<sizeof(rInfo); i++);
    {
        if(
rInfo[i][r_id]==0) return i;
    }
    return 
0;

i got this
Код:
D:\data aji\Samp server\gamemodes\tes.pwn(267) : error 036: empty statement
D:\data aji\Samp server\gamemodes\tes.pwn(269) : error 017: undefined symbol "i"
D:\data aji\Samp server\gamemodes\tes.pwn(269) : error 017: undefined symbol "i"
Thanks Before
Reply
#2

Thanking before everything as instructed.

Код:
getRumahID() 
{ 
    for(new i=0; i<sizeof(rInfo); i++) // removed the ; here
    { 
        if(rInfo[i][r_id]==0) return i; 
    } 
    return 0; 
}
Reply
#3

Quote:
Originally Posted by Troydere
Посмотреть сообщение
Thanking before everything as instructed.

Код:
getRumahID() 
{ 
    for(new i=0; i<sizeof(rInfo); i++) // removed the ; here
    { 
        if(rInfo[i][r_id]==0) return i; 
    } 
    return 0; 
}
again and again Sorry

Thanks Before
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)