Quote:
Originally Posted by epic .
I still confused.
What`s the difference between this :
Code:
public bot_interface()
{
for ( new i = 0 ; i < iNum ; i++ )
{
id = iPlayers[i];
}
}
|
I think you can do like this :
PHP Code:
public bot_interface()
{
static rag[8]
read_ragv(1, rag, 7)
for ( new i = 0 ; i < iNum ; i++ )
{
id = iPlayers[i];
if (id == str_to_num(rag))
A_function(id)
break
}
}
but I think it's not a good way !

so you need not to use loop !
__________________