Mohamed Posted January 23, 2015 Posted January 23, 2015 ابي كود البيد تتبعك انا سوية بيد ابيها تتبعني وشكر
The Killer Posted January 23, 2015 Posted January 23, 2015 setPedControlState https://wiki.multitheftauto.com/wiki/Control_names https://wiki.multitheftauto.com/wiki/FindRotation
</Mr.Tn6eL> Posted January 23, 2015 Posted January 23, 2015 ممكن مثال بسيط منت مجبور تسوي شي وانت مو عارفه
TAPL Posted January 23, 2015 Posted January 23, 2015 ممكن مثال بسيط https://forum.multitheftauto.com/viewtopic.php?f=91&t=67595 can you give me a script example? Example: ped = createPed(0, getElementPosition(localPlayer)) addEventHandler("onClientRender", root, function() local x, y, z = getElementPosition(localPlayer) local tx, ty, tz = getElementPosition(ped) local dis = getDistanceBetweenPoints2D(x, y, tx, ty) if dis > 2 then setPedControlState(ped, "forwards", true) else setPedControlState(ped, "forwards", false) end setPedRotation(ped, findRotation(tx, ty, x, y)) end) function findRotation(x1,y1,x2,y2) local t = -math.deg(math.atan2(x2-x1,y2-y1)) if t < 0 then t = t + 360 end return t end
aL.Kfo Posted January 24, 2015 Posted January 24, 2015 ممكن مثال بسيط منت مجبور تسوي شي وانت مو عارفه يمكن الرجال مجبور انة يسوية .. وثاني شي المنتدى ذا للاسئلة . كل واحد بيجي يسال ما يعرف نقولة انت مو مجبور تسوي كذا؟ وش عليك مجبور او مو مجبور ي تساعد او تسكت . ومنت مجبور ترد
AboShanab Posted January 24, 2015 Posted January 24, 2015 ممكن مثال بسيط منت مجبور تسوي شي وانت مو عارفه لا خير في كاتم علم
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