darking123 Posted July 31, 2015 Group: Members Topic Count: 318 Topics Per Day: 0.06 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted July 31, 2015 how to enable @storage that can only be used in town Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted July 31, 2015 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted July 31, 2015 - script storage -1,{ OnInit: bindatcmd("storage",strnpcinfo(0)+"::OnStorage"); end; OnStorage: if( !getmapflag( strcharinfo(3),mf_town ) ) { message strcharinfo(0), "not autorized"; end; } openstorage; end; } 2 Quote Link to comment Share on other sites More sharing options...
Question
darking123
how to enable @storage that can only be used in town
Link to comment
Share on other sites
1 answer 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.