Jump to content

KenXeiko

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by KenXeiko

  1. first, the paintjob textures are located at 'paintjobs' folder (as typed @ meta.xml) so it should be textures = { "elegy3body256", "elegy2body256", "elegy1body256", "sultan2body256", "sultan3body256", "jester3body256", "uranus3body256", "faketurf_law", "des_crackeddirt1" } for k, v in ipairs (textures) do texture = dxCreateTexture ( "paintjobs/"..v..".png" ) shader, tec = dxCreateShader( "texreplace.fx" ) engineApplyShaderToWorldTexture ( shader, tostring(v) ) dxSetShaderValue ( shader, "gTexture", texture ) end if i missed something on your code, pardon me, because i'm not in mood to check the whole code, lol
  2. I wanted to help on getting offline copies, but since my UP speed isn't as fast as usual, meh .. Btw, could it be possible for you to upload them @ mediafire, dropbox (or any file hosting that allow us to use download enhancer, such as IDM)? That would be really helpfull, since we can download the copies faster than usual. I believe zippyshare doesn't allow unregistered user to continue download (so download enhancer is useless, and boom, slower download). But, thanks for the latest copy. Regards, ...
  3. Oh well, that drift counter isn't actually mine. I did major-edit from the original source. You can see that it's exactly different with the one we're using at PD-server.
  4. Could someone provide a mirror link for the SDK (0.4)? I can't download it from the current link
  5. KenXeiko

    [WIP]MTAM

    Looks great, good luck with this!
  6. I believe that it's possible, just check the whole resource, you should be able to find the spawn function.
  7. I don't think such scripts would worth that much ..
  8. So, it's actually AARRGGBB I tried to do 00FF7F00 to make sure if the first 2 letters is the alpha, and it's working. Uhm, oh well, thanks for the help.
  9. Oh, I see. Thank you, it's working well now. Would you mind to explain me the differences?
  10. Are you sure that there's no other part of your resource which show the cursor after that 'close' function? Or perhaps the Console window is currently visible? Any warnings/errors?
  11. Hi, I tried to change the text color of my checkbox with guiSetProperty(mainGUI["checkbox"][i], "NormalTextColour", tocolor(255, 127, 0)) On another topic it says that I'd need to use 'tocolor' for the third argument. So I did that one, it's supposed to change the color of the checkbox into 'orange' (as seen here), but somehow, the function changed the color into 'pink' instead of 'orange'. Any idea about this one? RESOLVED Thanks to MR.S3D for the clue guiSetProperty(mainGUI["checkbox"][i], "NormalTextColour", "FFFF7F00") The color is supposed to be: AARRGGBB -- A = Alpha, R = Red, G = Green, B = Blue Regards, Ken X.
  12. I can't find the download link for 2.0, but he uploaded 1.1 at his site. http://www.potholestudios.com/Downloads ... id=45.html
  13. Randomwords: https://community.multitheftauto.com/index.php?p= ... ls&id=5863 Randommaths: https://community.multitheftauto.com/index.php?p= ... ls&id=5862 Original scripts made by Al3grab Randomwords: https://community.multitheftauto.com/ind ... ls&id=4472 Randommaths: https://community.multitheftauto.com/ind ... ls&id=5340 DONE
  14. DELETE REQUEST (I've no idea where to post this actually) https://community.multitheftauto.com/index.php?p= ... ls&id=3877 My own map, but it wasn't supposed to be there (somehow the delete function isn't working to delete the entire resource) DONE
  15. I tried it couple weeks ago to attach fire to ped's head, working well ...
  16. You named modloader as 'carmod'? It explains a lot. Some of players that play on your server, also playing on our server (IP-PD Freeroam). And epicly we named modloader to 'carmod' too... So I guess you understand
  17. Would be good if you add Dimension option tho. You know, so people could use the same interior for several houses (and the dimension only that different)
  18. show us line 60-80.. or the whole function around line 71... maybe some of us can help you to fix it by yourself..
  19. editor_dumb is the map file that u r working in it, everytime u put an objet, it will automatically saved to editor_dumb (maybe) .. overall, it's trully needed. if your server accidently stoped, u still have backup of your map on editor_dumb, well something like that ...
  20. KenXeiko

    Text

    Then like what karthik said. Use guiLabelSetColor
  21. Why did you need to use timer? And why you should put command if you want to bind it? local useMod = 0 -- You can name it as you wish actually bindKey("F3", "down", function() if useMod == 0 then engineImportTXD(engineLoadTXD("skin.txd", ID), ID) engineReplaceModel(engineLoadDFF("skin.dff", ID), ID) -- You should fill it with the object ID instead of 0 useMod = 1 outputChatBox("#FFFFFF[ENABLE]#FF5500Custom skin is now #00FF00enabled#FF5500!", 255, 128, 0, true) elseif useMod == 1 then engineRestoreModel(ID) useMod = 0 outputChatBox("#FFFFFF[DISABLE]#FF5500Custom skin is now #FF0000disabled#FF5500!", 255, 128, 0, true) end end ) But if you still want to let those command. Try this function. executeCommandHandler
  22. @top sniper: the problem is, he put it on server side, and you told him to put onClientMarkerHit on client side?
  23. http://mta.dzek.eu/vehicle/ Probably he will change the DFF too. Not only the TXD. function applyMods() local txd = engineLoadTXD ( "(file).txd" ) engineImportTXD ( txd, [VehicleID] ) local dff = engineLoadDFF ( "(file).dff", [VehicleID] ) engineReplaceModel ( dff, [VehicleID] ) end addEventHandler("onClientResourceStart", getRootElement(), applyMods) https://wiki.multitheftauto.com/wiki/EngineReplaceModel Click link above for example to replace vehicle skin.
  24. KenXeiko

    Godmode

    Probably he found a godmode script out there, and it use timer...
×
×
  • Create New...