[MySQL] Storing data without duplicates.
#2

Quote:
Originally Posted by MacDuck
Посмотреть сообщение
I don't know how it works at all.
Код:
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;
}
This is done when I save the position of an object.
Do you need something else?
Reply


Messages In This Thread
[MySQL] Storing data without duplicates. - by CherryMond - 20.02.2019, 13:18
Re: [MySQL] Storing data without duplicates. - by CherryMond - 20.02.2019, 13:25
Re: [MySQL] Storing data without duplicates. - by Calisthenics - 20.02.2019, 14:25
Re: [MySQL] Storing data without duplicates. - by CherryMond - 20.02.2019, 17:53
Re: [MySQL] Storing data without duplicates. - by Calisthenics - 21.02.2019, 08:04
Re: [MySQL] Storing data without duplicates. - by CherryMond - 21.02.2019, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)