Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward CreateHouse();
- public CreateHouse()
- {
- new query[1000];
- new house;
- HouseInfo[house][ID] = cache_insert_id();
- HouseInfo[house][hWorld] = cache_insert_id();
- mysql_format(mysql, query, sizeof(query), "INSERT INTO `maisons`(`ID`, `hEntrancex`, `hEntrancey`, `hEntrancez`,`hInt`,`hLevel`, `hValue`, `hExitx`, `hExity`, `hExitz`, `hDiscription`, `hOwner`) VALUES ('%d', '%f', '%f', '%f', '%d', '%d', '%d', '%f', '%f', '%f','%s','%s')",HouseInfo[house][ID],HouseInfo[house][hEntrancex],HouseInfo[house][hEntrancey],
- HouseInfo[house][hEntrancez],HouseInfo[house][hInt],HouseInfo[house][hLevel],HouseInfo[house][hValue],HouseInfo[house][hExitx],HouseInfo[house][hExity],HouseInfo[house][hExitz],HouseInfo[house][hDiscription],HouseInfo[house][hOwner]);
- mysql_tquery(mysql, query, "", "");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement