Quote:
Originally Posted by Michael_Cruise
whats the object id
|
The object id for cuffs is
19418.
Quote:
Originally Posted by Michael_Cruise
Please Rep me back .. !! 
|
Hello, Welcome to the SA-MP forums, Do not ask or beg for reputation here. People will rep you if they find your thread/post useful, and asking for reputation is considered "noobish".
pawn Код:
SetPlayerAttachedObject(ID, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
The second param here, after "ID" and before "19418", is the index param. Here you put a number between 0 - 9.
In this case, you have put 0 as index.
If you want to remove the cuffs, use the
RemovePlayerAttachedObject(playerid, index); function, where playerid is the id to remove the attached object from, and index is the index used in SetPlayerAttachedObject.
So if you want to remove the cuffs created with
pawn Код:
SetPlayerAttachedObject(ID, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
Then you should use
pawn Код:
RemovePlayerAttachedObject(ID, 0);
EDIT: Damn was way too slow.