Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rotation = -90
- local ped = createPed(50, 715.81, -466.9, 16.34, rotation)
- local x, x, r = getElementRotation(ped)
- outputChatBox("Phrase 1: "..r)
- setElementFrozen(ped, true)
- local x, x, r = getElementRotation(ped)
- outputChatBox("Phrase 2: "..r)
- setElementRotation(ped, 0, 0, r)
- local x, x, r = getElementRotation(ped)
- outputChatBox("Phrase 3: "..r)
- addCommandHandler("f",
- function()
- setElementFrozen(ped, not isElementFrozen(ped))
- outputChatBox("Changed frozen state to "..tostring(isElementFrozen(ped)))
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement