14.02.2014, 12:56
Doing:
of course will not work because box1 is undefined.
pawn Код:
GetObjectPos(box1, X, Y, Z);
pawn Код:
// global:
new box1;
// To the place you create the object:
box1 = CreateObject(...);