GetFirstParentIdForPedType

From GT-MP
Jump to: navigation, search
GetFirstParentIdForPedType
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript


Gets the first available parent-id for a specified pedtype.

Syntax

API.getFirstParentIdForPedType(int type);

Required Arguments

  • type: parameter input should be in int type.

NOTE: This function returns data in int type.

Available types

Type Description
0 Male (Non-DLC)
1 Female (Non-DLC)
2 Male (DLC)
3 Female (DLC)

Usage example(s)

API.getFirstParentIdForPedType(int type);

References