Thread: Help ring of life.

Results 1 to 6 of 6
  1. #1 Help ring of life. 
    D A T A
    Guest
    can someone explain why this dose not work sorry im a newb

    Code:
    	void lifeRing() {
    	if (playerLevel[3] < 10 && playerEquipment[playerRing] == 2570);
    		teleportToX = 5747;
    		teleportToY = 5558;
    	}
    i have been waching tuts on the internet and i did this on my server compiled it no errors yet it dus not work ingame ?

    please help
    Reply With Quote  
     

  2. #2  
    Member Help ring of life. Market Banned

    Robin Spud's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    2,338
    Thanks given
    46
    Thanks received
    73
    Rep Power
    1068
    because your not calling the void.
    ILY Stewie.
    Reply With Quote  
     

  3. #3  
    D A T A
    Guest
    oo please help i just started coding not long ago i will have a go at the void
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jan 2008
    Posts
    1,328
    Thanks given
    14
    Thanks received
    19
    Rep Power
    416
    The ring only works when its on 10 hp
    Reply With Quote  
     

  5. #5  
    Registered Member
    ViperSniper's Avatar
    Join Date
    Apr 2007
    Age
    30
    Posts
    2,417
    Thanks given
    367
    Thanks received
    82
    Rep Power
    976
    public void lifeRing() {
    if (playerLevel[3] < 10 && playerEquipment[playerRing] == 2570){
    teleportToX = 5747;
    teleportToY = 5558;
    }
    }
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Jan 2007
    Age
    30
    Posts
    4,417
    Thanks given
    3
    Thanks received
    105
    Rep Power
    0
    Then of course you have to add it to the death method..
    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
  •