14.08.2015, 15:33
You should attach the object like so
Then you should use
When you've saved it to your liking, use the information in the parameters of this callback
Код:
SetPlayerAttachedObject(playerid, chooseanindex (0-9), model (object), bone (find out the bones here https://sampwiki.blast.hk/wiki/Bone_IDs));
Код:
EditAttachedObject(playerid, chosen index);
Код:
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) { }