Ped::getTattooZone: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Returns the zoneID for the overlay if it is a member of collection.<br>enum TattooZoneData<br>{<br> ZONE_TORSO = 0,<br> ZONE_HEAD = 1,<br> ZONE_LEFT_ARM = 2,<br> ZONE_RIGHT_ARM = 3,<br> ZONE_LEFT_LEG = 4,<br> ZONE_RIGHT_LEG = 5,<br> ZONE_UNKNOWN = 6,<br> ZONE_NONE = 7,<br>};
Returns the zoneID for the overlay if it is a member of collection.<br>enum TattooZoneData<br>{<br> ZONE_TORSO = 0,<br> ZONE_HEAD = 1,<br> ZONE_LEFT_ARM = 2,<br> ZONE_RIGHT_ARM = 3,<br> ZONE_LEFT_LEG = 4,<br> ZONE_RIGHT_LEG = 5,<br> ZONE_UNKNOWN = 6,<br> ZONE_NONE = 7,<br>};
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ped.getTattooZone(collection, overlay);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ped.getTattooZone(collection, overlay);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''collection:''' Model hash or name
*'''collection:''' Model hash or name
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ped_function_c}}
{{Ped_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:29, 6 May 2017

Returns the zoneID for the overlay if it is a member of collection.
enum TattooZoneData
{
ZONE_TORSO = 0,
ZONE_HEAD = 1,
ZONE_LEFT_ARM = 2,
ZONE_RIGHT_ARM = 3,
ZONE_LEFT_LEG = 4,
ZONE_RIGHT_LEG = 5,
ZONE_UNKNOWN = 6,
ZONE_NONE = 7,
};

Syntax

mp.game.ped.getTattooZone(collection, overlay);

Required Arguments

  • collection: Model hash or name
  • overlay: Model hash or name

Return value

  • int

Example

// todo

See also