Advertisement
Guest User

Untitled

a guest
Feb 24th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. function deleteallbuildings(partei)
  2. counter = 1
  3. x = 0
  4. while counter < 83 do
  5.  
  6. if counter == 46 then
  7. counter=49
  8. end
  9.  
  10. x = Buildings.Amount(partei,counter, Buildings.READY)
  11.  
  12. while x~=0 do
  13. Buildings.Delete(Buildings.GetFirstBuilding(partei,counter),partei)
  14. x = x-1
  15. end
  16. counter = counter +1
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement