dudeks Posted December 9, 2012 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
Anderl Posted December 9, 2012 Posted December 9, 2012 Where is "charpos" table defined? "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
DiSaMe Posted December 9, 2012 Posted December 9, 2012 Are the coordinates visible on the screen at the moment of ped creation? -
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