GetEntityModel

From GT-MP
Jump to: navigation, search
GetEntityModel
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Returns the EntityModel as an Integer


Syntax

In C#
Server-Side Function

API.getEntityModel(NetHandle ent);

Required Arguments

  • ent parameter input should be in NetHandle type.


NOTE: This function returns data in int type.

In Javascript
Client-Side Function

API.getEntityModel(NetHandle ent);

Required Arguments

  • ent parameter input should be in NetHandle type.


NOTE: This function returns data in int type.

Usage example

In C#
Server-Side Function

API.getEntityModel(NetHandle ent);

In Javascript
Client-Side Function

API.getEntityModel(NetHandle ent);

References