180 degrees spin lua or cfg script

Posts 110 of 10 · Page 1 of 1
180 degrees spin lua or cfg script
can some one please find me a lua or cfg script so when you press a key you spin 180 degrees.
thanks
Edit this propkill script: pastebin.com/1pxVVZVK
Quote Originally Posted by LennyPenny View Post
Lol this is the worst.

This is like literally six months old, but anyway.

https://github.com/LennyPenny/Lennys.../Lenny/180.lua

Bind lenny_180 to a key to turn.
aim = ply:GetAimVector():Angle()
ply:SetEyeAngles(aim1 - Angle(0, 180, 0))

lmao why dont you just aim.p and aim.r
1.Obtain Down Sydrome
2.Accidently Sneeze On Your Mouse
3.Profit $$$
im getting this error

[ERROR] lua/180.lua:2: attempt to index global 'ply' (a nil value)
1. unknown - lua/180.lua:2
2. unknown - lua/includes/modules/concommand.lua:69
lenny dont tell him how to fix it
Here, people in this forum arent nice enough to help you so i will.

function doa180()
aim1 = LocalPlayer():GetAimVector():Angle()
LocalPlayer():SetEyeAngles(aim1 - Angle(0, 180, 0))
end

concommand.Add("lenny_180", doa180)

Put it into a lua file and load it and write "lenny_180"
Quote Originally Posted by niller303 View Post
Here, people in this forum arent nice enough to help you so i will.

function doa180()
aim1 = LocalPlayer():GetAimVector():Angle()
LocalPlayer():SetEyeAngles(aim1 - Angle(0, 180, 0))
end

concommand.Add("lenny_180", doa180)

Put it into a lua file and load it and write "lenny_180"
nanocat whyyyyyyyyyyyyyyy
Im not nanocat, here is a picture from me and him talking
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?