25.06.2018, 15:45
It's a Dynamic object, therefore you need to use the Dynamic functions.
INCORRECT:
CORRECT:
INCORRECT:
Код:
public OnPlayerEditDynamicObject(playerid, STREAMER_TAG_OBJECT objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz) { SetObjectPos(objectid, x, y, z); SetObjectRot(objectid, rx, ry, rz); SCMf(playerid, COLOR_RED, "xyz: %f/%f/%f, rxyz: %f %f %f", x, y, z, rx, ry, rz); return 1; }
Код:
public OnPlayerEditDynamicObject(playerid, STREAMER_TAG_OBJECT objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz) { SetDynamicObjectPos(objectid, x, y, z); SetDynamicObjectRot(objectid, rx, ry, rz); SCMf(playerid, COLOR_RED, "xyz: %f/%f/%f, rxyz: %f %f %f", x, y, z, rx, ry, rz); return 1; }