Ryosuke Posted January 26, 2017 Share Posted January 26, 2017 I tried to create something to attach on a weapon model. Can someone help me solve this? function weapon1(player) local weaponID = getElementModel(arma_1) if weaponID == 356 then PosX = 0 PosZ = 1.4 PosY = 0.4 else return end x,y,z = getElementPosition(player) local arma = createObject(1830, x, y, z+30) attachElements(arma, arma_1,PosX,PosZ,PosY) end end addCommandHandler("weap", weapon1) 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