Raised This Month: $ Target: $400
 0% 

Run Time Error 10


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 07-26-2009 , 06:27   Run Time Error 10
Reply With Quote #1

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)
       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)
    } 
Quote:
L 07/26/2009 - 13:27:09: [MySQL] No result set in this query!
L 07/26/2009 - 13:27:09: [AMXX] Run time error 10 (plugin "gather.amxx") (native "SQL_NextRow") - debug not enabled!
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
 


Thread Tools
Display Modes

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