25.02.2013, 09:04
Hello.I used mysql_format and It`s says undefined symbol.I am using MySQL plugin R6.Why this is showing to me!?
Please help me...
pawn Код:
stock GetFreeHouseSlot()
{
new szQuery[32];
for(new id = 0; id < MAX_HOUSES; id++)
{
mysql_format(1,szQuery, "SELECT * FROM `samp_houses` WHERE `HouseID` = %d", id);
mysql_query(szQuery);
if(!mysql_num_rows()) return id;
}
return -1;
}