detachobject
#1

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:

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);
Thnx
Reply


Messages In This Thread
detachobject - by Robbin237 - 25.04.2009, 15:21
Re: detachobject - by Robbin237 - 25.04.2009, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)