gustavootto Posted December 15, 2015 Posted December 15, 2015 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)
iPrestege Posted December 15, 2015 Posted December 15, 2015 Actually player is not defined in clientside so use localPlayer and please tell us what /debugscript 3 say's
gustavootto Posted December 15, 2015 Author Posted December 15, 2015 Mr.Pres[T]ege No error occurs in / debuscript 3 over the script does not work fot will be which can be local coordinates of dxImage help me
iPrestege Posted December 15, 2015 Posted December 15, 2015 Actually i have made one before a year ago so you can see if it's what you want or not : https://community.multitheftauto.com/ind ... ls&id=6729 hope that help's !
gustavootto Posted December 15, 2015 Author Posted December 15, 2015 Yes yes, and that Styllo I want to create my script you just made object I want to do with dxImage
#RooTs Posted December 15, 2015 Posted December 15, 2015 Yes yes, and that Styllo I want to create my script you just made object I want to do with dxImage You are wanting to copy my ideas? that thing ugly man
Best-Killer Posted December 15, 2015 Posted December 15, 2015 Yes yes, and that Styllo I want to create my script you just made object I want to do with dxImage You are wanting to copy my ideas? that thing ugly man Keep saying that to everyone -.- all have ideas and maybe some one think for idea like yours -.- Stop saying That To Ppl
#RooTs Posted December 15, 2015 Posted December 15, 2015 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
Best-Killer Posted December 15, 2015 Posted December 15, 2015 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 -.-
1LoL1 Posted December 15, 2015 Posted December 15, 2015 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..
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