BasePlayer.inventory.GiveItem not working
Hello guys.
I have my own plugin (2years old) and row player.inventory.GiveItem() not work and console is clear... Why? They change it?
Provide us full code
case "thompson":
if(money >= 500) {
player.inventory.GiveItem(ItemManager.CreateByItemID(456448245, 1));
player.inventory.GiveItem(ItemManager.CreateByItemID(-533875561, 64)); //9MM
dbDecMoney(player, "500");
PrintToChat(player, "You buy thompson kit");
} else PrintToChat(player, "You havent money for this...");
break;

All do - vrite to chat, remove money form db, but no give item
They rework ids, ok thanks :-)
In response to zhulenejsnek ():
They rework ids, ok thanks :-)
thats why i am using shortnames :)