Error: Function not registered: 'EditAttachedObject' |
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; } |
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;
}
Error: Function not registered: 'EditAttachedObject' |