Jump to content

Karuzo

Members
  • Posts

    1,213
  • Joined

  • Last visited

Everything posted by Karuzo

  1. Fake: https://community.multitheftauto.com/index.php?p= ... ls&id=8813 Original: https://community.multitheftauto.com/index.php?p= ... ls&id=2062 As you can see in the code, just changed pictures. DONE
  2. Yeah just like replacing Car Mods. Here is a List of the IDs. https://wiki.multitheftauto.com/wiki/Vehicle_Upgrades
  3. As far as i know the max - resolution in MTA is 1920x1080 so i think it's the same.
  4. You did it like this ? guiCreateStaticImage( 0, 0, 1920, 1080, "login_bg.jpeg", false )
  5. This should help you https://wiki.multitheftauto.com/wiki/In ... ng_the_GUI
  6. You can't add one to GTA . But you can replace one. Like this: txd = engineLoadTXD ( "weapon.txd" ) engineImportTXD ( txd, 357) dff = engineLoadDFF ( "weapon.dff", 357) engineReplaceModel ( dff, 587 ) You can look up the IDs here: https://wiki.multitheftauto.com/wiki/Weapons But note that you have to use the Model IDS!
  7. Or you could just draw that picture if he presses the MouseWheel/Right-Mouse-Click.
  8. Karuzo

    Alpha Problem

    So like this ? addEventHandler("onClientRender", root, function () if (alpha >= 255) then alpha = 255 elseif (alpha == 0) then removeEventHandler("onClientRender", root, Alpha) end end )
  9. Karuzo

    Alpha Problem

    @CVC: No, it should slowly fade to 255 if i open it. And if i close the scoreboard it should fade slowly to 0. @VinnieBwoy: It's a DX Scoreboard where i just set the color with the alpha . tocolor(255,255,255,alpha)
  10. Karuzo

    Alpha Problem

    I don't understand. What should that be ?
  11. Karuzo

    Alpha Problem

    Hey guys, i have a problem with my Alpha in my Scoreboard Script. I want it to fade it in. but that doesn't really work. The problem is it sets the alpha to 0 if it reached 255. And how can i let it fade back if i unpress tab. local alpha = 0 function Alpha() if alpha < 255 then alpha = alpha + 10 end end --Alpha is triggered if i press tab. Hope you can help me
  12. Karuzo

    Any Proplem

    Oh, haha didn't noticed that. Thank you.
  13. Karuzo

    Any Proplem

    try this addEventHandler ( 'onClientGUIClick', resourceRoot, function( ) if ( source == GUIEditor.button[1]) then setElementModel(77,localPlayer) elseif ( source == GUIEditor.button[2]) then setElementModel(78, localPlayer) elseif ( source == GUIEditor.button[3]) then setElementModel(72, localPlayer) elseif ( source == GUIEditor.button[4]) then setElementModel(71,localPlayer) end end )
  14. Hmm, but is there no way to make multiply extractions?
  15. You have to save the vehicles which the players bought first. Example : in MySql, xml, or acc-datas. Then you just get the car and let it spawn. And to destroy: Just check if the car is spawned or smth like that and then destroy it.
  16. hey guys, i have a question about txd files. let's say i have 100+ txd files, and want them to convert it to png/jpg. But i don't want to choose every single txd on TXD Workshop and export them. Is there a converter to do multiply converts ? if that doesn't work. Does someone have a GTA 5 like Minimap ? Thank you for your help.
  17. You put it as serverside in your meta?
  18. Don't forget to remove the event handler after you left the pickul
  19. No i mean why do you want to get the direction of the player ?
  20. I don't know but you could use getElementRotation
  21. Well something like wiki can't explain it better. And if you think i'm not helping you , ok. im off this.
×
×
  • Create New...