CreateSWATRope: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (needs example)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Client function}}
{{Needs Example}}
Creates a SWAT rope like that of the rope in single player used by SWAT Teams abseiling from the Police Maverick.
Creates a SWAT rope like that of the rope in single player used by SWAT Teams abseiling from the Police Maverick.



Revision as of 19:55, 31 December 2014

Accessories-text-editor.png Script Example Missing Function CreateSWATRope needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

Creates a SWAT rope like that of the rope in single player used by SWAT Teams abseiling from the Police Maverick.

Syntax

bool createSWATRope ( float fx, float fy, float fZ, int duration )

Required Arguments

  • fx, fy, fz: the world coordinates where the effect originates.
  • duration: the amount in miliseconds the rope will be there before falling to the ground.

Requirements

Minimum server version n/a
Minimum client version 1.1.1-9.03250

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.1.1-9.03250" />

See Also