HustraDev Posted September 3, 2014 Posted September 3, 2014 Hi Guy's i have made code to create Projectile attached to object but won't works local xw,yw,zw = getElementPosition(theObject) createProjectile(theObject, 19, xw, yw, zw+1.5, 1.0, nil,0,0,0)
Castillo Posted September 3, 2014 Posted September 3, 2014 Any errors on debugscript? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Forrest Posted September 3, 2014 Posted September 3, 2014 At no point there have you even attempted to attach it.
Moderators IIYAMA Posted September 3, 2014 Moderators Posted September 3, 2014 + Objects can't create projectiles. Only (synced)vehicles/players can. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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