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).
Name | Description |
---|---|
objectid | Ang 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);
Related Functions
- GetPlayerObjectModel: Kunin ang model ID ng isang player-object.