Jump to content

Search the Community

Showing results for tags 'createweapon'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 3 results

  1. I am creating a new weapon, and is in the aiming phase, but I would like to set the aiming position for the player, that createWeapon ("m4", 0, 0, 0) would aim where the player is aiming, and that the animation set by me [setPedAnimation (getLocalPlayer (), "shop", "shp_gun_aim", -1, true, true, false, false, 250, true)] aimed where the player looks while holding the right mouse button, How can I do it? By the way, I would like to ask if it is possible for the player not to hit when the animation is on?
  2. I found a really interesting bug, and i can not fix it. Well, i created a script that creates and fires a custom wepon when a bind is pressed. It's just working fine, but when i use it on the middle of my map, then the createWeapon function is not working without debugscript. The map contains 1200 Elements. When i reduced the maps objects to ca. 300-400 objects then it worked. I really dont understand why is that happening. Is there any way to make createWepon work beside 1200 elements? Thanks
  3. ZEPHYR

    createWeapon

    google translate started: I do not know how to run createWeapon through the server, so that other players see the created weapons and that their client scripts could perceive the action of this weapon. easier to say how to make synchronization for weapons between players? here are some similar scripts. I do not have my own script because I could not think of anything else. https://vk.com/away.php?to=http%3A%2F%2Fwww.mta-resource.ru%2Fforum%2Ftopic%2Fid%2F3292&el=snippet https://vk.com/away.php?utf=1&to=https%3A%2F%2Fforum.multitheftauto.com%2Ftopic%2F55963-createweapon%2F I only have a position for weapon: local m1 = createWeapon("minigun", x, y, z) local m2 = createWeapon("minigun", x, y, z) attachElements ( m1, Vehicle, 0.34, 1, 0.55, -2, 30, 95) attachElements ( m2, Vehicle, 0.7, 1, 0.55, -2, 30, 95) setWeaponProperty(m1, "fire_rotation", 0, -30, -5) setWeaponProperty(m2, "fire_rotation", 0, -30, -5)
×
×
  • Create New...