Search the Community
Showing results for tags 'replace'.
Found 5 results
-
Anyone can explain me how to replace paintjobs? I wrote this script and it's not working function replacepaintjob() paintjob1 = engineLoadTXD ( "elegy1.txd" ) engineImportTXD (paintjob1, [562]={0}) paintjob2 = engineLoadTXD ( "elegy2.txd" ) engineImportTXD (paintjob2, [562]={1}) paintjob3 = engineLoadTXD ( "elegy3.txd" ) engineImportTXD (paintjob3, [562]={2}) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replacepaintjob) addCommandHandler ( "reloadmodel", replacepaintjob ) And please explain me how to use paintjob IDs in MTA Wiki Paintjob.
- 9 replies
-
- multi theft auto
- mta
-
(and 3 more)
Tagged with:
-
I would like to know if it would be possible to replace the SFX files, so it would be easy to create a system of sounds for vehicles without being that ugly and bad done by scripts
-
Hello, I would like to give you a suggestion that would improve the mta for the better, in order to create new things. Replacing the original animations, I saw that this was disabled because it caused problems, but it would be really fun to create new things in mta sa
-
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