SetPlayerAttachedObject
#2

You should attach the object like so
Код:
SetPlayerAttachedObject(playerid, chooseanindex (0-9), model (object), bone (find out the bones here https://sampwiki.blast.hk/wiki/Bone_IDs));
Then you should use
Код:
EditAttachedObject(playerid, chosen index);
When you've saved it to your liking, use the information in the parameters of this callback
Код:
public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{

}
Reply


Messages In This Thread
SetPlayerAttachedObject - by Aleksabre - 14.08.2015, 15:30
Re: SetPlayerAttachedObject - by HarrisonC - 14.08.2015, 15:33
Re: SetPlayerAttachedObject - by Aleksabre - 14.08.2015, 15:39
Re: SetPlayerAttachedObject - by HarrisonC - 14.08.2015, 15:47
Re: SetPlayerAttachedObject - by Aleksabre - 14.08.2015, 16:04
Re: SetPlayerAttachedObject - by HarrisonC - 14.08.2015, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)