Jump to content

Search the Community

Showing results for tags 'world models'.

  • 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


About Me


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Hi. I have something like this: addCommandHandler( 'wrem', function( player, command, radius ) if radius then radius = tonumber( radius ) else radius = 10 end local t = false; local x,y,z = getElementPosition( player ) for i=500,20000 do t = removeWorldModel( i,radius, x, y, z ) if t == true then outputChatBox( "[WREM] First object found: model "..i..", radius "..radius, player ) break end end outputChatBox( "[WREM] Done.", player ) end ) This function should return first met object but it returns true for every iteration. I want to ask someone who really knows what's up - who knows how to find and call, for example, function used in editor which returns world object on click. I didn't study that code yet, so if someone can give some hint will be appreciated.
×
×
  • Create New...