raynner Posted November 8, 2016 Share Posted November 8, 2016 Hello everyone, I am creating a rpg server and I would like to use the blip Id 42 to be able to mark the places of work but I would like to replace it with a new image so I was searching the forum and found something that helped me more n me I leave satisfied Client Sid function ReplaceBlipInTakeJob() for key,hud in ipairs(huds) do texShader = dxCreateShader ( "shader/shader.fx" ) createdHud = dxCreateTexture("img/hud/"..hud..".png") dxSetShaderValue(texShader,"gTexture",createdHud) engineApplyShaderToWorldTexture(texShader,tostring(hud)) end end addEvent("StartJobId",true) addEventHandler("StartJobId",root,ReplaceBlipInTakeJob) shader.fx texture gTexture; technique TexReplace { pass P0 { Texture[0] = gTexture; } } So my problem is that he even did replace the blip more only on the radar and not on the F11 map Anyone could help me with this I have no experience in radar or shaders and .fx Link to comment
Walid Posted November 8, 2016 Share Posted November 8, 2016 try to use the customblip resource. Link to comment
raynner Posted November 8, 2016 Author Share Posted November 8, 2016 8 minutes ago, Walid said: try to use the customblip resource. I already saw I tried but I did not like it, I did not like it ... Link to comment
Captain Cody Posted November 9, 2016 Share Posted November 9, 2016 The f11 map uses MTAs own Blip files if I'm not mistaken. Link to comment
raynner Posted November 9, 2016 Author Share Posted November 9, 2016 11 hours ago, CodyL said: The f11 map uses MTAs own Blip files if I'm not mistaken. The question is how to access and replace them Link to comment
HeySlickThatsMe Posted November 9, 2016 Share Posted November 9, 2016 here are 2 things that i know you can do with f11 map: 1.Use maximap resource 2.script your own f11 Link to comment
raynner Posted November 9, 2016 Author Share Posted November 9, 2016 2 minutes ago, ThatsMe said: here are 2 things that i know you can do with f11 map: 1.Use maximap resource 2.script your own f11 I would be very happy to do this my own f11 but unfortunately as I said I am not very experienced in this area of radar, hud's, maps .. But you gave me an idea.. Link to comment
Addlibs Posted November 9, 2016 Share Posted November 9, 2016 (edited) ^^ maximap resource is a custom F11 map, if you don't want to make your own one. Edited November 9, 2016 by MrTasty 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