Lumaktaw patungo sa pangunahing content

GetObjectModel

warning

This function was added in SA-MP 0.3.7 and will not work in earlier versions!

Description​

Kunin ang model ID ng isang object (CreateObject).

NameDescription
objectidAng ID ng object na kukunin ang model

Returns​

Ang model ID ng object.

-1 kung walang object.

Examples​

new objectid = CreateObject(1234, 0, 0, 0, 0, 0, 0);
new modelid = GetObjectModel(objectid);