22.06.2013, 14:19
Hi everyone.
I saw that there is GetObjectModel ta sa-mp and one for myself kodladım function. Share to avail yourself.
How to use it?
Code:
new obje = CreateObject(1097,0,0,0,0,0,0); printf("Model = %d",GetObjectModel(obje));//Model = 1097
If PlayerObject;
Code:
new obje = CreatePlayerObject(playerid,18809,0,0,0,0,0,0); printf("Model = %d",GetPlayerObjectModel(playerid,obje));//Model = 18809