Sql Problem
What wrong? :(
Code:
L 02/24/2009 - 19:50:12: [MySQL] Invalid DBI result handle -1Code:
#include <amxmodx>if i but time to like 25 sec it does about 4-5 times then same error starts and compling dosent give me any errors |
Re: Sql Problem
you should use sqlx... an i THINK it would look something like this:
Code:
|
Re: Sql Problem
still native errors :S
|
Re: Sql Problem
Help?
|
Re: Sql Problem
Colum start with 0.
result1 = SQL_ReadResult(query, 0) result2 = SQL_ReadResult(query, 1) |
Re: Sql Problem
Still I Dont know what to do :cry: first 2-3 minutes it works fine and then
Code:
L 02/28/2009 - 21:34:29: [MySQL] No result set in this query!Code:
#include <amxmodx> |
Re: Sql Problem
For text you have to use string
new result2[192] SQL_ReadResult(query, 1, result2, 191) |
Re: Sql Problem
Still errors! i dont know why :S
So Mb someone can to me a new plugin? i only want to show latest message some info text on next line [SMS]: message show For more type /sms |
Re: Sql Problem
PHP Code:
|
Re: Sql Problem
Now it shows no errors! some time when map is loaded it shows no message,
or when new map is and i type /showsms it shows and 5 minutes is passed it dosent show message! when server starts it gives error that cant connect to db! map changed no db connect error. Tables Code:
CREATE TABLE `sms_chat`(Code:
#include <amxmodx> |
| All times are GMT -4. The time now is 17:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.