 |
|
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
|

07-29-2009
, 09:21
Re: Run Time Error 10
|
#6
|
Quote:
Originally Posted by MrOpposite
PHP Code:
new players[32], pnum, tempid; get_players(players, pnum); for( new i; i<pnum; i++ ) { 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(query, 3) new deaths = SQL_ReadResult(query, 4) set_hudmessage(255, 170, 42, 0.1, 0.0, 0, 0.1, 99999.0, 0.0, 0.0, 534) 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 !!!
__________________
|
|
|
|