Thread: can some one help with this code?

Results 1 to 4 of 4
  1. #1 can some one help with this code? 
    Registered Member Assassin2's Avatar
    Join Date
    Sep 2008
    Posts
    645
    Thanks given
    1
    Thanks received
    1
    Rep Power
    31
    it does that but ONLY if some one else logs in and since i lag a lot when i run a server i dc a lot which just makes it say that im offline again

    here is code

    Code:
    Code:
                        } else if (npcs[i].npcType == 3084) {
                            if (misc.random2(10) <= 3) // this is the time delay
                            {
                                npcs[i].updateRequired = true;
                                npcs[i].textUpdateRequired = true;
                                if (PlayerHandler.isPlayerOn("tyler hall2")) {
                                    npcs[i].textUpdate = "Tyler is ONLINE";
                                } else {
                                    npcs[i].textUpdate = "Tyler is sadly OFFLINE";
                                }
                            }
    plz & ty

    -Assassin2
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Oct 2008
    Posts
    842
    Thanks given
    81
    Thanks received
    53
    Rep Power
    0
    try addin it in the process(npchandler)
    Reply With Quote  
     

  3. #3  
    Registered Member Assassin2's Avatar
    Join Date
    Sep 2008
    Posts
    645
    Thanks given
    1
    Thanks received
    1
    Rep Power
    31
    it is... i said it works it just doesent happen as soon as a log in...
    Reply With Quote  
     

  4. #4  
    Tariq
    Guest
    whats the point of making the NPC talk... for me i put in my quest interface...

    like it is green when im on but if im not the text isnt even there.
    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
  •