Guest User

Untitled

a guest
Sep 27th, 2018
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 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`,`ExitX`,`ExitY`,`ExitZ`,`World`,`Interior`,`Color`) VALUES ('%s','%s','%d','%d','%d','%s','%f','%f','%f','%f','%f','%f','%d','%d','%d')",
  3. bInfo[id][bName], bInfo[id][bOwner], bInfo[id][bOwned], bInfo[id][bMoney], bInfo[id][bPrice], BusinessType(id), bInfo[id][bEntranceX], bInfo[id][bEntranceY], bInfo[id][bEntranceZ], bInfo[id][bExitX], bInfo[id][bExitY], bInfo[id][bExitZ], bInfo[id][bWorld], bInfo[id][bInterior], bInfo[id][bColor]);
  4. mysql_query(Database, query);
Advertisement
Add Comment
Please, Sign In to add comment