02.01.2014, 22:24
Help please i cant run any plugin above R20 or the once with .pdb files and i don't know what to do... i have Windows 7 x64bit
Hey there!
Just wondering, what "cache_get" method you should use when changing integer in SELECT query to a string. I Have tried to use "cache_get_field_content();", but this does nothing. No errors or anything in my logs. Thanks for your reply in advance! |
new temp[ 15 ];
cache_get_row(0, 1, temp); Variable[playerid] = strval(temp); //convert integer into string
new temp[ 20 ];
cache_get_row(0, 1, temp); Variable[playerid] = valstr(temp, Variable[playerid]); //convert integer into string
Then use cache_get_row and store it to a temporary or a global variable (array).
|
mysql_format(dbHandle, query, sizeof(query), "SELECT FROM_UNIXTIME(`Unban`, '%%Y-%%m-%%d %%l:%%i %%p') FROM `Bans` WHERE `Nick` = '%e'", params);
mysql_query(dbHandle, query, true);
cache_get_data(rows, fields);
if (rows) {
new bannedStamp[20];
cache_get_field_content(0, "Unban", bannedStamp);
printf("%s", bannedStamp):
}
pawn Код:
Thanks for your reply in advance! |
Lol I realized I posted in the wrong topic last time, with the r35 beta. LOL.
|
SELECT blah.id, blah.name, blahblah.number, hey.message FROM blah LEFT JOIN blahblah ON blah.id = blahblah.id LEFT JOIN hey ON blah.name = hey.id WHERE blah.age = 2
Error: Unknown table 'blah' in field list |
No I don't have SP3, if you know the true background on SP3, it's not really 'perfect' with some computers. It's not perfect with mine so that's why I've stopped installing it. (I have used it before, this PC has been flashes many times, but SP3 was a reason behind many of those flashes.. flashes = wipe with CD)
|
Thanks for the plugin.
Now I've a problem, I tried to use it in the host, but I got this error: [03:38:31] Loading plugin: mysql.so [03:38:31] Failed (plugins/mysql.so: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference) Anyone can help me? Thanks. |
[*]Linux: (x86 (32-bit) version is cross compatible)
|