Jump to content

Help me !


gustavootto

Recommended Posts

I am trying to create a Wanteds system but not to getting someone can help me please!

Thank you: D

local drawDistance = 70 
  
function onClientRender() 
    if isElement(player) and isElementStreamedIn(player) then 
      do 
        local vx, vy, vz = getPedBonePosition(player, -- s8) -->
        local dist = getDistanceBetweenPoints3D(cx, cy, cz, vx, vy, vz) 
        if dist < drawDistance and isLineOfSightClear(cx, cy, cz, vx, vy, vz, true, false, false) then 
          local x, y = getScreenFromWorldPosition(vx, vy, vz + 0.3) 
          if x and y then 
          local wanteds = getPlayerWantedLevel(localPlayer) 
          if wanteds > 0 then 
          dxDrawImage(x - 1 - w / 4, y - 1 - h - 20, w, h, "img/wanteds.png") 
end 
 end 
  end 
   end 
    end 
     end 
addEventHandler("onClientRender", root, onClientRender) 

Link to comment
Keep saying that to everyone -.-

all have ideas and maybe some one think for idea like yours -.-

Stop saying That To Ppl

he knows my work, and I know his intentions

it's not problem if he copy your idea -.-

You shut up you copy everything they see and lie that they're getting script in addition you have another account here..

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...