20.02.2019, 13:25
Код:
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){ if(response){ AOP[playerid][index][ao_model] = modelid; AOP[playerid][index][ao_bone] = boneid; AOP[playerid][index][ao_slot] = index; AOP[playerid][index][ao_x] = fOffsetX; AOP[playerid][index][ao_y] = fOffsetY; AOP[playerid][index][ao_z] = fOffsetZ; AOP[playerid][index][ao_rx] = fRotX; AOP[playerid][index][ao_ry] = fRotY; AOP[playerid][index][ao_rz] = fRotZ; AOP[playerid][index][ao_sx] = fScaleX; AOP[playerid][index][ao_sy] = fScaleY; AOP[playerid][index][ao_sz] = fScaleZ; } return 1; }
Do you need something else?