Sorry for not being clear YMBrothers. I'm making a command so that when a players selects a kit, the player is teleported out of the kit room so he won't be able to acquire two kits then give him the kits items. The /give @p will work but it does not always goes to the player who selected the kit.So I was thinking of putting it to detect the player to that certain location he/she was teleported to then give/spawn items at the location. Ah yes, speaking of spawning items, that'll work to if you have the command for it where items spawn as entities and drops into a hopper then a chest then the player picks it up but I don't know the command for spawning items in entity form though... I was also thinking of doing the /testfor method to test for players' location and only give the items to the player on the certain location but sadly I'm very new to 1.6.4 commands... So yea... Anyone know how to do it?
Note: I'm using 1.6.4 so I can use it with the Crafting Dead Origins mod by f3rullo14 to make the game more zombie themed.