SA-MP Forums Archive
GetObjectModel? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GetObjectModel? (/showthread.php?tid=404671)



GetObjectModel? - Squirrel - 03.01.2013

Is it possible to get somehow
Код:
GetObjectModel(modelid);



Re: GetObjectModel? - ikkentim - 03.01.2013

Not possible, unless you use the streamer plugin


Re: GetObjectModel? - Babul - 04.01.2013

heres an inspiration:
Код:
const MaxObjects=500;
new ObjectsCreated;
new Object[MaxObjects];
new ObjectModelID[MaxObjects];
...
Object[ObjectsCreated]Create*Object(12345,blabla);
ObjectModelID[ObjectsCreated]=12345;
ObjectsCreated++;
...
new WhatsTheModelFromThatObject=ObjectModel[Object[SelectedObject]];



Re: GetObjectModel? - mastermax7777 - 04.01.2013

Quote:
Originally Posted by Babul
Посмотреть сообщение
heres an inspiration:
Код:
const MaxObjects=500;
new ObjectsCreated;
new Object[MaxObjects];
new ObjectModelID[MaxObjects];
...
Object[ObjectsCreated]Create*Object(12345,blabla);
ObjectModelID[ObjectsCreated]=12345;
ObjectsCreated++;
...
new WhatsTheModelFromThatObject=ObjectModel[Object[SelectedObject]];
Object[ObjectsCreated]Create*Object(12345,blabla);

wtf