Is your donator set to the fourth rank? or is it c.isdonator = 1?
|
How can i make a certain player not be able to trade?
Like if i had a respected-donator and i gave him :ickup and i didnt want him to be able to trade - or drop items on death.
Can anyone give me a helping hand?
Is your donator set to the fourth rank? or is it c.isdonator = 1?
It's C.donator = 1
Then;
trade.java...
Below
add...Code:if (Connection.isMuted(c)) { c.sendMessage("You are muted and cannot talk."); return; }
you're welcome.Code:if (c.isDonator == 1) { c.sendMessage("You can not trade as a donator. Be thankful for spawning you ungrateful shit."); return; }
O.o That was simple.
Thanks
Testing it now.
Works fine: thanks.
What about deaths so they dont lose items ?
Last edited by Someone; 12-28-2010 at 01:23 PM. Reason: Ye
Same thing, jsut remove the sendmessage statement...im not going to hold your hand...Rep please.
How would I do this for rights ==3?
Nvm got it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |