ADMSarah Posted August 8, 2024 Group: Members Topic Count: 18 Topics Per Day: 0.03 Content Count: 143 Reputation: 10 Joined: 08/19/23 Last Seen: 2 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Gidz Cross Posted August 9, 2024 Group: Members Topic Count: 133 Topics Per Day: 0.03 Content Count: 686 Reputation: 89 Joined: 04/07/14 Last Seen: 6 hours ago Share 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 Link to comment Share on other sites More sharing options...
Question
ADMSarah
Hi good day, can someone help me out to make this NPC based on the following:
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.