Get object pos?
#1

Hey. I have code:

Код:
new Random = random(MAX_HPSPAWNS);
objid=CreateObject(19315 ,Spawns[Random][cX],Spawns[Random][cY],Spawns[Random][cZ],0.0000000,0.0000000,0.9866943);
Now I need to move this object. How to get the position of created object, because here object is creating with random pos.
Reply
#2

GetObjectPos function or you store the random values into a variable
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)