xRGamingx Posted February 12, 2018 Posted February 12, 2018 (edited) How can I do so that when a player enters a market, the money bag on his back is ashen? ID Bag: 1550 function creteMoney () Money[1] = createObject(1550, 472.5595703125, 152.0556640625, 1002.2183227539) ----------- 1 setElementInterior (Money[1], 3) setElementDimension (Money[1], 1) setObjectScale(Money[1], 1.5) setElementCollisionsEnabled(Money[1], false) local x1, y1, z1 = getElementPosition(Money[1]) MoneyCol = createColSphere(x1, y1, z1, 1) if isElement(Money[1]) then moveMoney = setTimer(moveObject, 2000, 0, Money[1], 2000, x1, y1, z1, 0, 0, 360) else if isTimer(moveMoney) then killTimer(moveMoney) end end end Edited February 12, 2018 by xRGamingx
xRGamingx Posted February 12, 2018 Author Posted February 12, 2018 I want every player that goes through the money bag to stick to your back example
Bossy Posted February 13, 2018 Posted February 13, 2018 usa esto https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540
xRGamingx Posted February 13, 2018 Author Posted February 13, 2018 Just now, MystoganScripter said: usa esto https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540 Claro pero como saco justo la posición de la espalda ?
Bossy Posted February 13, 2018 Posted February 13, 2018 hmmm donde estan x y z ponle digamos creo que la de la espalda es 2 donde dice x,y,z ponle x,y,z+2 o ve calculando osea xyz son las cordenadas
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