Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. abc = 0
  2. admins = {"Vnklacnkfho#0000"}
  3. for a,admn in pairs(admins) do
  4. ui.addTextArea(0, "<a href='event:ice'>START ICE</a>\n", name, 6, 157, 92, 18, 0x324650, 0x000000, 1, true)
  5. end
  6. function eventTextAreaCallback(id, name, event)
  7.  
  8. if event == "ice" then
  9. propiedades = {height=5,width=5,mass=4050005,dynamic=true, type=1}
  10. abc = abc + 1
  11. tfm.exec.addPhysicObject(abc, tfm.get.room.playerList[name].x+10, tfm.get.room.playerList[name].y+30, propiedades)
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement