Jump to content

شرح فنكشن


Recommended Posts

سلام عليكم

شباب ابي اعرف كيف استخدم الكود

getPedBonePosition 

https://wiki.multitheftauto.com/wiki/GetPedBonePosition

الارقمنت الاول حط البيد

الارقمنت الثاني حط رقم المنطقة اللي بالجسم

مثال

addEventHandler('onClientRender', root, function() 
    for bone = 1, 54 do 
     local bonePos = {getPedBonePosition(localPlayer, bone)} 
        if bonePos[1] then 
         local screen = {getScreenFromWorldPosition(unpack(bonePos))} 
            if screen[1] then 
             dxDrawText(''..bone, screen[1], screen[2]) 
            end 
        end 
    end 
end) 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...