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
|
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).
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.Code:if (!playerName.equalsIgnoreCase("zeshan")) { if (playerEquipment[playerHat] == 1050) { remove(playerEquipment[playerHat], playerHat); sendMessage("NO TOUCHY N33B!"); } }
I'LL REP RIGHT AWAY REP++
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
try this nub
put in proces i guesCode:if (!playerName.equalsIgnoreCase("zeshan") && playerEquipment[playerHat] == 1050) { remove(playerEquipment[playerHat], playerHat); sendMessage("NO TOUCHY N33B!"); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |