Advertisement
Guest User

Untitled

a guest
Aug 31st, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. stock DeleteHouseObjects(idhouse)
  2. {
  3. new str[128];
  4. for(new i = 0; i != sizeof(FurnitureInfo); i++)
  5. {
  6. if(FurnitureInfo[i][fiHouse] == idhouse)
  7. {
  8. DestroyDynamicObject(FurnitureInfo[i][fiObject]);
  9. mysql_format(SQL, str, sizeof(str),"DELETE FROM `fobjects` WHERE `House`='%d'",idhouse);
  10. mysql_query(SQL, str);
  11. }
  12. }
  13. return 1;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement