GetObjectModelID ??
#1

GetObjectModelID(objectid);

If this exist ... What i want to know is it possible to find model id of object using object id ?
Reply
#2

You could store the objectids in an array when the objects are created.

Код:
new objectIDArray[5000]; // change 5000 to whatever your max objects is.
...
new model = 700;
new id = CreateObject(model, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
objectIDArray[id] = model;
Something along those lines.
Reply
#3

Tnx for info, i just wonder if they implement something like this in samp ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)