Eminism Posted April 19, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 11/07/12 Last Seen: April 29, 2013 Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted April 19, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share 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 Link to comment Share on other sites More sharing options...
Eminism Posted April 19, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 11/07/12 Last Seen: April 29, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.