25.04.2009, 15:21
I've created a object editor with AttachObjectToPlayer, now what i want is detach it.. i've created the following to Destroy the object, and then place it again to detach it. But someway or another, it doesn't show up. Does anybody know why?
This is my code:
Thnx
This is my code:
pawn Код:
new Float:X, Float:Y, Float:Z;
GetObjectPos(Object[playerid], X, Y, Z);
DestroyObject(Object[playerid]);
CreateObject(Object[playerid], X, Y, Z, 0, 0, 0);