Advertisement
akbare

Disable @storage spesific map

Oct 20th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. - script storagecom -1,{
  2. OnInit:
  3. bindatcmd "storage",strnpcinfo(3)+"::OnAtcommand";
  4. end;
  5.  
  6. OnAtcommand:
  7. setarray .Map$[0],"pvp_n_8-5","pvp_y_1-2","guild_vs1","guild_vs2","guild_vs3";
  8. if(strcharinfo(3) == .Map$[0] || strcharinfo(3) == .Map$[1]){
  9. message strcharinfo(0),"You can't open your storage here!";
  10. end;
  11. }
  12. openstorage;
  13. end;
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement