Thread: How can I make an item mines only.

Results 1 to 3 of 3
  1. #1 How can I make an item mines only. 
    Zeshan
    Guest
    Well I've searched all over the place and asked all my friends they don't know how to do it and I guess it wouldn't hurt to post it here.

    I want Santa hat, to be so only I can wear it, A CERTAIN NAME NOT playerRights. This is what my friend RAMON made me, but now noone can wear it even me(Zeshan).

    Code:
    if (!playerName.equalsIgnoreCase("zeshan")) {
    if (playerEquipment[playerHat] == 1050) {
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("NO TOUCHY N33B!");
    }
    }
    Please can someone fix what's wrong, if you can thank you so much and add me on msn if you want - [email protected]. So I wanna make it so only the name "Zeshan" can wear it, nooone else.

    I'LL REP RIGHT AWAY REP++
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2008
    Posts
    129
    Thanks given
    3
    Thanks received
    0
    Rep Power
    20
    Make something that like counts it or something you know
    like the playerrights thing
    then give everyone else 0 and give you 1 then make it require 1 "w/e that counter thing is"
    and bingo
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    May 2008
    Posts
    2,327
    Thanks given
    55
    Thanks received
    67
    Rep Power
    0
    try this nub

    Code:
    if (!playerName.equalsIgnoreCase("zeshan") && playerEquipment[playerHat] == 1050) {
    remove(playerEquipment[playerHat], playerHat);
    sendMessage("NO TOUCHY N33B!");
    }
    put in proces i gues
    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
  •