PewN Posted December 1, 2012 Posted December 1, 2012 i have a @itemmap command i want to lock this command that only this account id can @itemmap example: Admin A = Account ID 2000000 ( 99 ) Admin B = Account ID 2000001 ( 99 ) Admin C = Account ID 2000002 ( 99 ) Only Admin A and B can use the @itemmap , if Admin C use the command nothing will work. Thanks! Quote
AnnieRuru Posted December 1, 2012 Posted December 1, 2012 in scripts if ( getcharid(3) == ... in source if ( sd->status.account_id == ... I think you can figure out 1 Quote
clydelion Posted December 1, 2012 Posted December 1, 2012 Actually, this is what the new permission system for. You can have 2 groups of both gm level 99, then turn off itemmap on one of them. Quote
PewN Posted December 1, 2012 Author Posted December 1, 2012 (edited) Actually, this is what the new permission system for. You can have 2 groups of both gm level 99, then turn off itemmap on one of them. ah how can i do that if there's 2 lvl 99 gm. how can i set the other to lvl 99? in scripts if ( getcharid(3) == ... in source if ( sd->status.account_id == ... I think you can figure out how can i add a message on the chat log? if ( sd->status.account_id != 2000000 ) { add a message? break; } the source l in scripts if ( getcharid(3) == ... in source if ( sd->status.account_id == ... I think you can figure out what wil i use return -1; or break; ? sorry im still newbie on src Problem Solved! thanks for your fast reply i figured it out Edited December 1, 2012 by TrojanWorm Quote
Question
PewN
i have a @itemmap command i want to lock this command that only this account id can @itemmap
example:
Admin A = Account ID 2000000 ( 99 )
Admin B = Account ID 2000001 ( 99 )
Admin C = Account ID 2000002 ( 99 )
Only Admin A and B can use the @itemmap , if Admin C use the command nothing will work.
Thanks!
3 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.