DairyPresto Posted April 19, 2024 Posted April 19, 2024 Can i request an script for the player will automatically kick out the party when leaving the map? or Option 2 is when player is at maintown Example : The player is at prt_fild08 when the player leave the prt_fild08 and go somewhere player will automatic kick on party. or If the player go to maintown or prontera he will automatic kick on party. Thanks in advance Quote
0 Racaae Posted April 20, 2024 Posted April 20, 2024 Hi. Option 2: - script Automatic_Leave_Party HIDDEN_WARP_NPC,{ OnInit: //Put here Maintowns maps names setarray .maps$,"prontera","geffen","aldebaran"; for(.@i = 0; .@i < getarraysize(.maps$); .@i++) setmapflag .maps$[.@i], mf_loadevent; end; OnPCLoadMapEvent: if (inarray(.maps$, strcharinfo(3)) >= 0) party_delmember; end; } Quote
Question
DairyPresto
Can i request an script for the player will automatically kick out the party when leaving the map? or Option 2 is when player is at maintown
Example : The player is at prt_fild08 when the player leave the prt_fild08 and go somewhere player will automatic kick on party.
or
If the player go to maintown or prontera he will automatic kick on party.
Thanks in advance
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.