Quote:
Originally posted by -_Soulhunter_-
How do i make a NPC that looks like a player
or a chest or something.. to
when you say
donate <amount> it saves thoose money
and only i can get them (whit my account name)?
|
its easy... use this commands:
playerrupees-/+/=/</>
use like if player chats and startswith
like if (startswith(donate, #c)) {
tokenize #c;
if (playerrupees>=#t(1)) {
playerrupees-=#t(1);
server.chestmoney+=#t(1);
}
}
and for the taking part do like:
if startswith(withdraw,#c)&&strequals(#a,account)) {
tokenize #c;
server.chestmoney-=#t(1)
playerrupees+=#t(1)
}
}
that wont work but try use those commands (Yes i know how to makeo e work but i wont bc u have to learn not to get)