kito2
www.masteria.net
Hi there...
I would like to make a command that for 2,000 premium points it changes your name? How, giving you the namelock ban... How it works?
I don't know if the function exist or not, but it should execute this query on table bans:
id = namelock id (should be with a ++)
type = 2
value = player id
param = 2
active = 1
expires = -1
added = os.time?
admin id = 1
comment = !changename command
action = 1
So if the player account has 2000 or more premium points AND the player is in protection zone, then it kick the player, removes 2000 premium points and then execute this query.
If the player account doesnt have 2000 premium points or less, then it gives the following error "It costs 2,000 premium points".
I would like to make a command that for 2,000 premium points it changes your name? How, giving you the namelock ban... How it works?
I don't know if the function exist or not, but it should execute this query on table bans:
id = namelock id (should be with a ++)
type = 2
value = player id
param = 2
active = 1
expires = -1
added = os.time?
admin id = 1
comment = !changename command
action = 1
So if the player account has 2000 or more premium points AND the player is in protection zone, then it kick the player, removes 2000 premium points and then execute this query.
If the player account doesnt have 2000 premium points or less, then it gives the following error "It costs 2,000 premium points".