Jump to content

MrZsemle

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by MrZsemle

  1. What MTA Server version do you using? In the future - if someone needs help, or found a bug, wants to give an advice - please consider using my GitHub Issues, or DM me.
  2. In the beginning, the script had hungarian variables, and probably didn't rewrite it. I fix this, thank you.
  3. Hi! I created a script which can send messages from server to Discord on Webhooks. You can find the tutorial in here. A little help if someone wants to log the server messages, commands using the webhook system https://gist.github.com/preilakos/9cf9b63bdc47e1468cdcd045f6e39ca5 Download from GitHub
  4. A few months ago i created a horse script in MTA:SA. I decided to publish it, because i haven't got time to work on it. Its not a working script, it needs some work, i just wrote functions. If you find my script useful, you can donate a few dollars to me on PayPal. Thank you! You can find it on GitHub.
  5. Hey! I made a new mtasa community design. I tried to use material design, and Roboto font. Link (imgur)
  6. Hi! I'm only posted a code snippet above. The script isn't ready to release, and i don't plan to continue in the future.
  7. Hi! I created a cinema script, but when i want to show a video from any site, shows me an error message. The Code:
  8. Azóta már komolyabban belefolytam a lua használatába, de köszönöm szépen a válaszodat.
  9. Send message to Discord from MTA:SA STEP I. Make a new webhook on your Discord server STEP II. Change the variable to your webhook URL. STEP III. Start the resource, and test it with the /dcmessage <string> command, or use it with another script using the following export: exports.webhook:sendDiscordMessage("string") Download the script here.
  10. Get the Ped's health with getElementHealth and draw to screen with dxDrawText. If you want set the ped's default displayed health to 100 divide the getElementHealth with 100.
  11. Hi! I'm looking for a quality poker script. If you know one, please send the download link below. Thanks, MrZsemle
  12. Hi! I know this is an article from 2012, but the MTA now supporting the custom IFP animations. https://wiki.multitheftauto.com/wiki/EngineLoadIFP
  13. Hi! You want to write ped's health in dxDraw or in the chatbox?
  14. Hi! I'm looking for a Roulette Script in MTA, which works. If you know one, please send me below. Best Regards, MrZsemle.
  15. Create a function which contains setPedAnimation, and bind this function to a key. For example: --this is a clientside code! -- load custom animations local customBlockName = "HORSE_ANIMATION" local IFP = engineLoadIFP( "horse_animations.ifp", customBlockName ) -- create horse, and bind keys horse = createPed(id, x, y, z) bindKey ( "w", "down", moveHorseForward ) bindKey ( "w", "up", stopHorse ) -- set default animations, and attach function setAnimations() setPedAnimation( horse, customBlockName, "HORSE_IDLE" ) setPedAnimation( localPlayer, customBlockName, "SIT" ) attachElements ( localPlayer, horse, x, y, z ) end addEventHandler("onClientResourceStart", resourceRoot, setAnimations) -- move forward, and stop function moveHorseForward() setPedAnimation( horse, customBlockName, "HORSE_RUN" ) setPedAnimation( localPlayer, customBlockName, "SIT_RUN" ) end function stopHorse() setPedAnimation( horse, customBlockName, "HORSE_IDLE" ) setPedAnimation( localPlayer, customBlockName, "SIT" ) end
  16. Then, this is the animation list: BLOCK NAME: HORSE_ANIMATION HORSE_RUN HORSE_IDLE_1 SIT_RUN HORSE_SPRINT HORSE_WALK SIT_WALK HORSE_KICK_FORWARD
  17. Hi everyone I used animations from this mod: https://www.youtube.com/watch?v=2pf10A-_rS0. I loaded the animations with EngineLoadIFP (https://wiki.multitheftauto.com/wiki/EngineLoadIFP ). I replaced a skin with this horse, and i applied this animation to the skin. If you want to make this in serverside, trigger a serverevent which contains SetPedAnimation (https://wiki.multitheftauto.com/wiki/SetPedAnimation ). This is the full cleo script, you can see the horse animations in this file: https://pastebin.com/F6kiSxBp. Bind the animation functions to keys (for example w, a, s, d). You can rotate the horse with https://wiki.multitheftauto.com/wiki/SetElementRotation both not only. You can find the reply above
  18. Hi. I created horses in mta . It will be visible on my MTA:SA WWII server.
  19. Okay, i maked it clientside. Thanks.
  20. Hi. I saw the mta's new update, the custom ifp support. I've seen a GTA:SA Cleo horse mod video, and i want to see this in mta. There's be an similar script to this? Video: Sorry for my bad English, i'm writing from Hungary.
  21. I put the setCameraTarget into onclientrender. That was the problem, but i solved it. Thanks for the reply.
×
×
  • Create New...