GetObjectModel
From SA-MP Wiki
Description:
Get the model ID of an object (CreateObject).
(objectid)
objectid | The ID of the object to get the model of |
Return Values:
The model ID of the object. -1 if object does not exist.
Example Usage:
new objectid = CreateObject(1234, 0, 0, 0, 0, 0, 0); new modelid = GetObjectModel(objectid);
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- GetPlayerObjectModel: Get the model ID of a player-object.