AHSS Posted April 26, 2011 Share Posted April 26, 2011 i want to know how to create an image or a text somehwere in the map like at the ammonation not on the screen no in the world / map when the player approaches the ammonation he sees it how? ty Link to comment
Castillo Posted April 26, 2011 Share Posted April 26, 2011 Try this, i think it's what you looking for https://community.multitheftauto.com/index.php?p= ... ls&id=1812 Link to comment
AHSS Posted April 26, 2011 Author Share Posted April 26, 2011 not really if u tried house system by dakila be4 u will find at each house marker owner: cost: and an image at the top of the marker and its not on the screen its in the map got it? same as ouse system by dakila the house icon and the owner cost text Link to comment
Castillo Posted April 27, 2011 Share Posted April 27, 2011 This is also in the world... it is not a text on the screen. Link to comment
AHSS Posted April 27, 2011 Author Share Posted April 27, 2011 first i want an image not text second it only appears when im so close to it i want it to be seen from a long distance and AN IMAGE! ty Link to comment
Castillo Posted April 27, 2011 Share Posted April 27, 2011 "i want to know how to create an image or a text somehwere in the map like at the ammonation not on the screen no in the world / map" Also, this script is edit-able, so don't be a lazy ass and edit it. Link to comment
AHSS Posted April 27, 2011 Author Share Posted April 27, 2011 ok i did this local gre = getRootElement() -- Direct X Drawing addEventHandler("onClientRender",gre, function() local px, py = getScreenFromWorldPosition (410.5979, -1543.6353, 32.2734, 8000.0) dxDrawImage( px, py, l_w, l_h, "mtalogo.png", 0, 0, 0) end) its working but 1 problem the image still visible all the time i want it visible only if the player is close Link to comment
Moderators Citizen Posted April 28, 2011 Moderators Share Posted April 28, 2011 only if the player is close What do you mean ? 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