CancelEvent Posted September 5, 2011 Share Posted September 5, 2011 (edited) loooool Thanls man Edited September 5, 2011 by Guest Link to comment
bandi94 Posted September 5, 2011 Share Posted September 5, 2011 bool createExplosion ( float x, float y, float z, int type [, bool makeSound = true, float camShake = -1.0, bool damaging = true ] ) float camShake must be a number and you put boolean false function onClientPlayerWeaponFireFunc(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) if (weapon == 25) then createExplosion(hitX, hitY, hitZ, 12, true, 0, true) end end addEventHandler("onClientPlayerWeaponFire", root, onClientPlayerWeaponFireFunc) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now