Guest User

Untitled

a guest
Sep 25th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. new query[256];
  2. 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')",
  3. 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]);
  4.  
  5. mysql_query(Database, query);
  6.  
  7. cache_get_value_name_int(0, "BizID", bInfo[id][BizID]);
Advertisement
Add Comment
Please, Sign In to add comment