Advertisement
Guest User

Untitled

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