dudeks Posted December 9, 2012 Share Posted December 9, 2012 Hai. I have a problem. ped = createPed(qtable[k]["defskin"], charpos[i].x, charpos[i].y, charpos[i].z) setElementInterior(ped, 1) setElementDimension(ped, dim) local sx, sy = getScreenFromWorldPosition(charpos[i].x, charpos[i].y, charpos[i].z) qtable[k]["chartext"] = guiCreateLabel(sx, sy, 150, 200, qtable[k]["name"].."\nCzas online: "..qtable[k]["onlinetime"], false) getScreenFromWorldPosition always return false. http://i.imgur.com/bvwQC.jpg Link to comment
Anderl Posted December 9, 2012 Share Posted December 9, 2012 Where is "charpos" table defined? Link to comment
DiSaMe Posted December 9, 2012 Share Posted December 9, 2012 Are the coordinates visible on the screen at the moment of ped creation? Link to comment
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