svgSetUpdateCallback | Multi Theft Auto: Wiki Skip to content

svgSetUpdateCallback

Client-side
Server-side
Shared
Needs checking

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

  • Missing section: Contents

Manual Review Required

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


Sets the update callback of an svg element

Syntax

bool svgSetUpdateCallback ( svg svgElement, function / bool callback )
Required Arguments
  • svgElement: The svg you want to set the callback function of.
  • / bool callback: MISSING_PARAM_DESC

Returns

  • bool: value

For example of callback usage, see svgSetSize or svgSetDocumentXML .

Code Examples

Script Example Missing

Function svgSetUpdateCallback needs a script example. Help out by writing one.

Contribution guidelines