Thread: Help please :o

Results 1 to 2 of 2
  1. #1 Help please :o 
    Registered Member
    Join Date
    Apr 2008
    Posts
    199
    Thanks given
    8
    Thanks received
    8
    Rep Power
    50
    Ehh Not sure what to do.. for example i need all players kills to add into one int
    for example..

    Code:
    public int Kills = 0;
    then if we also had
    Code:
    if (npcID == ####) {
    c.Kills++;
    }
    the kill from the npc only goes to that person's kill int.. how would i make it so the
    kill int is used serverwide, like everyone's kill get's added together?
    Reply With Quote  
     

  2. #2  
    Member Help please :o Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    Declare it as static.

    Attached imageAttached image
    Reply With Quote  
     


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
  •