Jump to content

xMoDy

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by xMoDy

  1. local RawData = [[ texture tex; technique replace { pass P0 { Texture[0] = tex; } } ]]
  2. hi, im trying to use engineApplyShaderToWorldTexture to remove a texture called "colete" but it's not working or sometimes is removing the texture and still the skin without texture "white" is there any way to remove it? the default skin: https://k.top4top.io/p_26357odlv2.png after: https://j.top4top.io/p_2635e9kww1.png shader = dxCreateShader ( RawData, 0, 0, false, "ped" ) engineApplyShaderToWorldTexture ( shader, "colete", localPlayer )
  3. addEventHandler ( "onClientResourceStart", resourceRoot, function () txd = engineLoadTXD ( "maverick.txd" ); engineImportTXD ( txd, 487 ); dff = engineLoadDFF ( "maverick.dff" ); engineReplaceModel ( dff, 487 ); end ); local shader = [[ texture gTexture; technique TexReplace { pass P0 { Texture[0] = gTexture; } } ]] local shader, t = dxCreateShader(shader, 0, 0, true, 'world,object,vehicle') local texture = dxCreateTexture("1.png") function applyShader(thePlayer, seat) local theVehicle = source if seat == 0 and thePlayer == localPlayer and shader then if texture then dxSetShaderValue(shader, 'Tex0', texture) engineApplyShaderToWorldTexture(shader, "frogger2_sign_1", source) end end end addEventHandler("onClientVehicleEnter", getRootElement(), applyShader) ----------------------- what should i do ? here isn't works! before: after:
  4. setDiscordState - Multi Theft Auto: Wiki Does anyone know how this function works?
  5. How can I make it like this video https://www.youtube.com/watch?v=e6xVMqZGbFQ&ab_channel=ULTRABROXE I tried to do but it didn't work, all the time it's a straight line
  6. How can I make a 3D line like this image: https://prnt.sc/1jr5qcj
  7. can any one help me I want to make the voice of the player 3D , how can i do that? HOW
  8. how can i make a discord bot for mta for : servername , players count , map , version , ip type , and some things more like this : https://prnt.sc/vyjlix
  9. Yes, but how can I make it automatic from inside the server? Yes, but how can I make it automatic from inside the server? i went to make is like t.h : bindKey (source , "r" , "down" , "voiceptt") But it does not work
  10. I can talk from the z button but i want to add another so i have two buttons and i can talk from both like this : https://prnt.sc/vvwn0a
  11. Can I make a player not hit someone else and no one can hit
  12. I want to make sure, when I get into the car, is there a driver in the car
  13. I only have a question if I can change the player is Aim and thx
  14. How can I change the voice volume of the players? on voicechat
  15. Ok .. thanks but I went only player . status : hunger & thirty ?
  16. Hello, I want to show the player's status completely, Like hunger and fatigue I am a beginner , So I need your help
×
×
  • Create New...