Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onLoad(save_state)
- self.createButton({
- click_function = "addPlayer",
- function_owner = self,
- label = "",
- position = {0,0.05,0},
- color = {0, 0, 0, 0},
- width = 2400,
- height = 600
- })
- end
- function addPlayer()
- local pos = self.getPosition()
- getObjectFromGUID("457c84").takeObject({
- position = {0.00, 1.76, -16.67},
- rotation = {0.00, 180.00, 0.00},
- smooth = false
- }).lock()
- self.setState(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement