Thread: (718) Automatic tokens

Results 1 to 2 of 2
  1. #1 (718) Automatic tokens 
    Registered Member Beandog's Avatar
    Join Date
    Mar 2013
    Posts
    218
    Thanks given
    22
    Thanks received
    9
    Rep Power
    4
    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
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Mar 2010
    Posts
    2,218
    Thanks given
    170
    Thanks received
    262
    Rep Power
    0
    try

    player.getInventory().addItem(ID, AMOUNT);

    put that before it spawns the next one or just add somewhere.
    Reply With Quote  
     

  3. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Automatic PORT FORWARDING! (done by server!)
    By Clienthax in forum Tutorials
    Replies: 255
    Last Post: 01-16-2017, 08:20 AM
  2. 718 Door Open Close Automatic
    By Overlord561 in forum Help
    Replies: 0
    Last Post: 02-21-2013, 01:08 AM
  3. 718 PVP Tokens
    By Ben_U in forum Snippets
    Replies: 8
    Last Post: 12-12-2012, 01:38 PM
  4. Automatic Username Case formatting!
    By Pkitten in forum Tutorials
    Replies: 9
    Last Post: 12-05-2007, 09:22 PM
  5. Tokenized Commands
    By ThatOneServer in forum Tutorials
    Replies: 1
    Last Post: 05-03-2007, 11:18 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •