1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("attack" , "attackshake")
function attackshake(id)
parse("shake "..id.." 3")
if (player(id,"health")<=30) then
parse("shake "..id.." 5")
end
end
Please help me, im learning lua from scratch:
this script shakes the player when attacking (very simple) but i dont know how to make the player not shaking when walking (with left shift) thanx
edited 1×, last 16.09.11 01:46:25 am
very easy lua
1 
Offline

its working