Raised This Month: $ Target: $400
 0% 

about id = str_to_num


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 05-04-2010 , 03:44   Re: about id = str_to_num
Reply With Quote #5

Quote:
Originally Posted by epic . View Post
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(1rag7)
    for ( new 
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 !
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
 



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 03:40.


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