Jump to content

Search the Community

Showing results for tags 'questinon'.

  • 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 1 result

  1. Hello everyone. I have a question about strange situation with onPlayerWasted event. addEventHandler( "onPlayerWasted", getRootElement( ), function(ammo,killer,weapon,bodypart) if killer and getElementType(killer) == "player" then outputChatBox("PLAYER") local faction = tonumber(getElementData(killer,"faction")) if faction and isFactionActiveWar(faction) then addKillToGangWar(faction) end end end ) When player killed by shot in the head, killer type is boolean, but if shot was in the body, killer is player. Idk how to fix it and why this event returnes thet exception result
×
×
  • Create New...