undefined Posted July 12, 2015 Posted July 12, 2015 I add createExplosion for create shake when the player fire weapon. But it is make stain. How can i prevent this stain or Is there another way to shake?
GTX Posted July 12, 2015 Posted July 12, 2015 Stain? You mean it deals damage or you see the explosion? Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
GTX Posted July 12, 2015 Posted July 12, 2015 Hmm, that's odd. Did you put it under ground? Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
undefined Posted July 12, 2015 Author Posted July 12, 2015 No, it is occuring when i fired. So, createExplosion... local mx, my, mz = getPedWeaponMuzzlePosition(source) createExplosion(mx,my,mz-10, 12, false, 0.2, false)
GTX Posted July 12, 2015 Posted July 12, 2015 Try this: local x, y, z = getElementPosition(source) createExplosion(x, y, z, 6, false, 0.2, false) Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
GTX Posted July 12, 2015 Posted July 12, 2015 Did you try it? Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
GTX Posted July 12, 2015 Posted July 12, 2015 Use setCameraMatrix then. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
undefined Posted July 12, 2015 Author Posted July 12, 2015 If i use setCameraMatrix, the camera will not shaking. -,- My goal is remove black stain...
GTX Posted July 12, 2015 Posted July 12, 2015 local x, y, z = getElementPosition(source) createExplosion(x, y, z+10, 6, false, 0.2, false) Try this. And you can't just remove stain like that. It's impossible afaik. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
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