Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new query[256];
- mysql_format(Database, query, sizeof(query), "INSERT INTO `business` (`Name`,`Owner`,`Owned`,`Money`,`Price`,`Type`,`EntranceX`,`EntranceY`,`EntranceZ`,`World`,`Interior`) VALUES ('%s','%s','%d','%d','%d','%s','%f','%f','%f','%d','%d')",
- bInfo[id][bName], bInfo[id][bOwner], bInfo[id][bOwned], bInfo[id][bMoney], bInfo[id][bPrice], bInfo[id][bType], bInfo[id][bEntranceX], bInfo[id][bEntranceY], bInfo[id][bEntranceZ], bInfo[id][bWorld], bInfo[id][bInterior]);
- mysql_query(Database, query);
- cache_get_value_name_int(0, "BizID", bInfo[id][BizID]);
Advertisement
Add Comment
Please, Sign In to add comment