30.01.2013, 23:49
Quote:
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) { SetPlayerAttachedObject(playerid, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ); PlayerInfo[playerid][pToyX][index] = fOffsetX; PlayerInfo[playerid][pToyY][index] = fOffsetY; PlayerInfo[playerid][pToyZ][index] = fOffsetZ; PlayerInfo[playerid][pToyRX][index] = fRotX; PlayerInfo[playerid][pToyRY][index] = fRotY; PlayerInfo[playerid][pToyRZ][index] = fRotZ; PlayerInfo[playerid][pToySX][index] = fScaleX; PlayerInfo[playerid][pToySY][index] = fScaleY; PlayerInfo[playerid][pToySZ][index] = fScaleZ; return 1; } |