Detaching object
#1

Hello guys,

I was making movable stretcher for my scratch RP gamemode but ended up with a problem which I cant solve, I attached stretcher to a player with using CreateObject and AttachObjectToPlayer, everything is alright but I cant find a way to detach it, do you guys know any function for doing such things ?

P.S.: I tried RemovePlayerAttachedObject(playerid,sedye[playerid]); but didnt actually work.

edit:decided destroying object and re-creating it, it works, can be locked.
Reply


Messages In This Thread
Detaching object - by Rufio - 07.06.2014, 12:46

Forum Jump:


Users browsing this thread: 1 Guest(s)