ADMSarah Posted August 8, 2024 Posted August 8, 2024 Hi good day, can someone help me out to make this NPC based on the following: Only guild castle owners can use the NPC, if your guild doesn't occupy any castle(s) you are not allowed to access the NPC. If the player is on the Clan they can not use this NPC. If player doesn't have guild they can not use this NPC. Quote prontera,146,173,4 script Hybrid Guild Warper 4_GEFFEN_08,{ if(!getcharid(2)) end; warp "job_thief10",179,27; end; OnAgitStart: OnAgitStart2: hideonnpc strnpcinfo(3); end; OnAgitEnd: OnAgitEnd2: hideoffnpc strnpcinfo(3); end; OnInit: hideonnpc strnpcinfo(3); end; } Quote
0 Gidz Cross Posted August 9, 2024 Posted August 9, 2024 21 hours ago, Questune said: Hi good day, can someone help me out to make this NPC based on the following: Only guild castle owners can use the NPC, if your guild doesn't occupy any castle(s) you are not allowed to access the NPC. If the player is on the Clan they can not use this NPC. If player doesn't have guild they can not use this NPC. To check if player have guild if(!getcharid(2)) { mes "[Guild Checker]"; mes "You don't belong in any Guild."; close; } to check if player have clan if(!getcharid(5)) { mes "[Clan Checker]"; mes "You don't belong in any Clan."; close; } Quote
Question
ADMSarah
Hi good day, can someone help me out to make this NPC based on the following:
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.