EngineRestoreObjectGroupPhysicalProperties

From Multi Theft Auto: Wiki
Revision as of 22:02, 17 May 2024 by TheNormalnij (talk | contribs) (There is no "property" argument)
Jump to navigation Jump to search

This function restores all physical properties of given properties group.

Syntax

bool engineRestoreObjectGroupPhysicalProperties ( int groupID )

Required Arguments

  • groupID: the id of physical properties group which you wish to restore.

Returns

Returns true if everything went well, error is raised otherwise.

Example

Click to collapse [-]
Client
function restorePhysicalGroup(_, group)
    engineRestoreObjectGroupPhysicalProperties(tonumber(group))
end
addCommandHandler ( "restorePhysicalGroup", restorePhysicalGroup )
--restorePhysicalGroup(120)

Requirements

This template will be deleted.

See Also