cache_get_field_content(0, "ID", HouseInfo[i][hhID], mysql, 129);
cache_get_field_content(0, "Owner", HouseInfo[i][Owner], mysql, 129);
cache_get_field_content(0, "Owned", HouseInfo[i][Owned], mysql, 129);
cache_get_field_content(0, "Locked", HouseInfo[i][Locked], mysql, 129);
cache_get_field_content(0, "InteriorID", HouseInfo[i][InteriorID], mysql, 129);
cache_get_field_content(0, "World", HouseInfo[i][World], mysql, 129);
cache_get_field_content(0, "Price", HouseInfo[i][Price], mysql, 129);
cache_get_field_content(0, "OX", HouseInfo[i][Float:OX], mysql, 129);
cache_get_field_content(0, "OY", HouseInfo[i][Float:OY], mysql, 129);
cache_get_field_content(0, "OZ", HouseInfo[i][Float:OZ], mysql, 129);
cache_get_field_content(0, "IX", HouseInfo[i][Float:IX], mysql, 129);
cache_get_field_content(0, "IY", HouseInfo[i][Float:IY], mysql, 129);
cache_get_field_content(0, "IZ", HouseInfo[i][Float:IZ], mysql, 129);
C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7772) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7772) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7773) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7773) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7774) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7774) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7775) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7775) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7776) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7776) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7777) : warning 213: tag mismatch C:\Users\Mindaugas\Desktop\FunZoneLT\filterscripts\Adminas.pwn(7777) : warning 213: tag mismatch
new int = cache_get_field_content_int(row, "column", handle);
new Float:fl = cache_get_field_content_float(row, "Column", handle);
Nope, it exists for string, integers and floats.
The correct syntax for integers : cache_get_field_content_int(row, "column", dbhandle); Same goes for floats, just replace the int wth a float, and dbhandle is optional. For strings you do: cache_get_field_content(row, "column", -VAR-TO-STORE-IT-INT-, dbhandle, length); |
I just assumed he knows about the one for strings as he's using it in his code.
|