Thread: Small help. about Players dying.

Results 1 to 4 of 4
  1. #1 Small help. about Players dying. 
    Registered Member
    Join Date
    Oct 2008
    Posts
    411
    Thanks given
    9
    Thanks received
    64
    Rep Power
    38
    I've recently added items into my server, but when i die with them i don't lose them. They're all added in item.cfg i just don't know what i did wrong, even when i'm skulled and don't protect items i still keep them. Some of you might be think i've probably added it where the firecape is cause you keep the firecape but i haven't . Help would be appreciated.
     

  2. #2  
    Banned

    Join Date
    Jul 2008
    Age
    28
    Posts
    5,827
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    looks like the ids are to high for your item methods or something because it only loops through a certain number
     

  3. #3  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Go into public void resetItems(int WriteFrame) {
    There you will see a number like 11999(the highest id number that it will reset) just change it to something else like 16000 or 20000 then it will make your items like all other items.
     

  4. #4  
    Fuckin PRO

    Tyler's Avatar
    Join Date
    Jan 2008
    Age
    33
    Posts
    6,017
    Thanks given
    46
    Thanks received
    507
    Rep Power
    3330
    look in youdied()

    at

    Code:
    f(playerItems[rr] > 0 && playerItems[rr] < 15000) {
    Yours should be like < 8000 or something, change it to the desired amount

    Make sure you do it for both of them, there is one like 15 lines down
     


Thread Information
Users Browsing this Thread

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


User Tag List

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