try
player.getInventory().addItem(ID, AMOUNT);
put that before it spawns the next one or just add somewhere.
|
hey guys i recently started fixing around on a server (rune-evo source, matrix 718 client) and ive added a couple forgotten warriors for a dung minigame, its not gonna be a real minigame, you simply just kill the warriors for tickets. i want to know how i can make the tickets autospawn in the players inv after they kill the npc's, each warrior is different and i want to know if i can possibly add a different amount of tickets for each warrior (eg. primal warriors give you 500 tickets and the zephyrium warriors drop 250 tickets etc) Thank you very much (aside from this, for this specific source how do i change the npc's health and stats?) Thankx
try
player.getInventory().addItem(ID, AMOUNT);
put that before it spawns the next one or just add somewhere.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |