Eminism Posted April 19, 2013 Posted April 19, 2013 Greetings, May I request for a script for an equipment that can give additional commands to a player wearing it. In example, a Police Hat gives a player the @jail, @ban and @mute commands when it is worn. Thanks in advance. Quote
Capuche Posted April 19, 2013 Posted April 19, 2013 Make a new group id in conf/groups.conf which inherit all commands of yours players + the news commands Then in item_db, adjust the group with atcommand script on the equip/unequip part of the item 2601,Ring,Ring,5,30000,,100,,0,,0,0xFFFFFFFE,7,2,136,,20,0,0,{ },{ atcommand "@adjgroup 1 "+ strcharinfo(0); },{ atcommand "@adjgroup 0 "+ strcharinfo(0); } 1 Quote
Eminism Posted April 19, 2013 Author Posted April 19, 2013 Make a new group id in conf/groups.conf which inherit all commands of yours players + the news commands Then in item_db, adjust the group with atcommand script on the equip/unequip part of the item 2601,Ring,Ring,5,30000,,100,,0,,0,0xFFFFFFFE,7,2,136,,20,0,0,{ },{ atcommand "@adjgroup 1 "+ strcharinfo(0); },{ atcommand "@adjgroup 0 "+ strcharinfo(0); } Thanks. Quote
Question
Eminism
Greetings,
May I request for a script for an equipment that can give additional commands to a player wearing it.
In example, a Police Hat gives a player the @jail, @ban and @mute commands when it is worn.
Thanks in advance.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.