Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local se_wpn = alife():object(wpn:id())
- local data = packet_utils.state_read(se_wpn)
- if (data.weapon_state == 5) then
- dostuff
- end
- -- Pretty sure 5 is for firing.
- -- Based on snippet of script by Alundaio
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement