GetObjectModel
From SA-MP Wiki
Revision as of 12:56, 15 April 2015; view current revision
←Older revision | Newer revision→
←Older revision | Newer revision→
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);
[edit]
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.