25.11.2014, 03:18
CreateObject returns the ID of the object created, so you can just do:
oID now holds the object ID.
pawn Код:
new oID = CreateObject(model, X, Y, Z, 0.0, 0.0, 0.0, 300.0);