MrZsemle

Members
  • Content Count

    29
  • Joined

  • Last visited

Community Reputation

12 Decent

2 Followers

About MrZsemle

  • Rank
    Advanced Member

Details

  • Gang
    Villager aristocrat
  • Location
    Hungary
  • Interests
    HTML, CSS, PHP (professional), Lua (intermediate), C++ (beginner)

Recent Profile Visitors

754 profile views
  1. Hey! I made a new mtasa community design. I tried to use material design, and Roboto font. Link (imgur)
  2. MrZsemle

    [SHOW] Horse

    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.
  3. Hi! I created a cinema script, but when i want to show a video from any site, shows me an error message. The Code:
  4. Azóta már komolyabban belefolytam a lua használatába, de köszönöm szépen a válaszodat.
  5. There's an easy way to send messages to your Discord server with Discord webhooks, and fetchRemote. (This only works with MTA Server version 1.5.6 or higher!) First, you need to create an webhook on your server. Copy the webhook URL Download the webhook resource from here (updated, thank you Mr.Loki!) Set the URL Start the resource, and now you can test your script with /dcmessage command, or you can use the sendDiscordMessage function with export (only serverside) like this: The result:
  6. 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.
  7. Hi! I'm looking for a quality poker script. If you know one, please send the download link below. Thanks, MrZsemle
  8. Hi! I know this is an article from 2012, but the MTA now supporting the custom IFP animations. https://wiki.multitheftauto.com/wiki/EngineLoadIFP
  9. Hi! You want to write ped's health in dxDraw or in the chatbox?
  10. Hi! I'm looking for a Roulette Script in MTA, which works. If you know one, please send me below. Best Regards, MrZsemle.
  11. MrZsemle

    [SHOW] Horse

    use setElementRotation
  12. MrZsemle

    [SHOW] Horse

    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
  13. MrZsemle

    [SHOW] Horse

    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