Raised This Month: $ Target: $400
 0% 

Run Time Error 10


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 07-29-2009 , 09:21   Re: Run Time Error 10
Reply With Quote #6

Quote:
Originally Posted by MrOpposite View Post
PHP Code:
new players[32], pnumtempid;
    
get_players(playerspnum);
    for( new 
ii<pnumi++ )
    {
       
tempid players[i];
       new 
Player[32]
       
get_user_name(tempid,Player,31)
       
query SQL_PrepareQuery(con2"SELECT * FROM players WHERE username='%s'",Player)
       
SQL_Execute(query)
       
SQL_NextRow(query//THIS IS THE ROW
       
new kills SQL_ReadResult(query3)
       new 
deaths SQL_ReadResult(query4)
       
set_hudmessage(255170420.10.000.199999.00.00.0534)
       
show_hudmessage(tempid"Kills: %s ^n   Deaths: %s",kills,deaths)
    } 
That is based of the error message...

EDIT:
We still need much more of the source though
as you se in your error L 07/26/2009 - 14:26:28: [AMXX] [0] Gather.sma::show_msg (line 841) i need all *.sma to find line 841 that contains the error. As you posted above is not that much lines !!!
__________________
dorin2oo7 is offline
 



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 18:24.


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