engineGetObjectGroupPhysicalProperty | Multi Theft Auto: Wiki Skip to content

engineGetObjectGroupPhysicalProperty

Client-side
Server-side
Shared
Needs checking

This function was partially migrated from the old wiki. Please review manually:

  • Missing section: Properties
  • Missing section: Physical properties
  • Missing section: Damage effect
  • Missing section: Collision Response
  • Missing section: Fx Type
  • Missing section: Break Mode
  • Missing section: Fx Effect

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function gets physical property of given properties group.

Syntax

engineGetObjectGroupPhysicalProperty ( )

Code Examples

client
function getProperty(_, group, property)
var prop = {engineGetObjectGroupPhysicalProperty(tonumber(group), property)}
outputConsole(inspect(prop))
end
addCommandHandler ( "getProperty", getProperty )
--getProperty(120, "special_col_response")

See Also

Engine Functions
Engine Elements