new dobozvisel[MAX_PLAYERS] = { -1, -1, ...};
CMD:dobi(playerid,params[]){ SetPlayerAttachedObject(playerid,dobozviseles(playerid),2358,5,308.5242, 1832.4036, 17.8708, 0.0000, 0.0000, 90.0000,1,1,1); ApplyAnimation(playerid, \"CARRY\", \"crry_prtial\", 4.1, 0, 0, 0, 1, 1, 1);return 1;}
dobozviseles(playerid){for(new i = 0; i < MAX_PLAYER_ATTACHED_OBJECTS; ++i){if(!IsPlayerAttachedObjectSlotUsed(playerid, i)){ if(dobozvisel[playerid] == -1) { dobozvisel[playerid] = i; return dobozvisel[playerid]; } return dobozvisel[playerid];}}return 1;}
308.5242, 1832.4036, 17.87080.0000, 0.0000, 90.0000
SetPlayerAttachedObject(playerid,dobozviseles(playerid),2358,5,0.0000, 0.0000, 90.0000,308.5242, 1832.4036, 17.8708);
SetPlayerAttachedObject(playerid, dobozviseles(playerid), 2358, 5, 0.0000, 0.0000, 0.0000, 308.5242, 1832.4036, 107.8708);
SetPlayerAttachedObject(playerid, dobozviseles(playerid), 2358, 5, -0.00350, -0.33920, 0.35800, 308.5242, 1832.4036, 107.8708); ApplyAnimation(playerid, \"CARRY\", \"crry_prtial\", 4.1, 0, 0, 0, 1, 1, 1);