(2021-06-02, 08:58 AM)Radical Wrote: UpdateAttachedDynamicObjectPos(objectid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz);You both lighted my way, thank you both!
Code:UpdateAttachedDynamicObjectPos(objectid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz) {
? ?
? ? Streamer_SetFloatData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_ATTACH_X, x);
? ? Streamer_SetFloatData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_ATTACH_Y, y);
? ? Streamer_SetFloatData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_ATTACH_Z, z);
? ? Streamer_SetFloatData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_ATTACH_R_X, rx);
? ? Streamer_SetFloatData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_ATTACH_R_Y, ry);
? ? Streamer_SetFloatData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_ATTACH_R_Z, rz);
}
Messages In This Thread |
[Sorted out] Update attached objects - by Otakeiro - 2021-06-02, 02:48 AM
RE: Update attached objects - by Pinch - 2021-06-02, 08:25 AM
RE: Update attached objects - by Radical - 2021-06-02, 08:58 AM
RE: Update attached objects - by Otakeiro - 2021-06-02, 07:19 PM
RE: Update attached objects - by Pinch - 2021-06-02, 08:30 PM
|