Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,150,150,0 script Sample 100,{
- set .@npc$,strnpcinfo(1);
- mes .@npc$;
- mes "Only members with high position can access the guild storage from me";
- next;
- if (getcharid(2) == 0) close;
- mes .@npc$;
- mes "Do you want me to open the guild stash for you?";
- next;
- if (select("Yes:No") - 1) close;
- mes .@npc$;
- mes "Let me check your position";
- query_sql("SELECT `position` FROM `guild_member` WHERE `account_id` = '"+getcharid(3)+"'", .@position);
- if (.@position != 3 || .@position != 2) close;
- mes .@npc$;
- mes "Done!";
- guildopenstorage();
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement