Nero Posted September 2, 2017 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 194 Reputation: 2 Joined: 12/18/11 Last Seen: April 8, 2020 Share Posted September 2, 2017 Hello everyone i would like to request this one. If map is in pvp = every warp there will be a self announce info. Example at pay_fild08 is in pvp on. if you teleport on that area, you will see a broadcast to self with the "The map is currently in PVP mode so be ready!"; Thank you everyone and Godbless! Quote Link to comment Share on other sites More sharing options...
0 L i g h t Posted September 2, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 13 Reputation: 2 Joined: 05/15/12 Last Seen: December 21, 2020 Share Posted September 2, 2017 (edited) - script check_pvp -1,{ OnPCLoadMapEvent: if (getmapflag( strcharinfo(3),mf_pvp )) { message strcharinfo(0),"The map is currently in PVP mode so be ready!"; } end; } pay_fild08 mapflag loadevent Edited March 21, 2023 by Skorm Added code block and improved formatting. 1 Quote Link to comment Share on other sites More sharing options...
1 sader1992 Posted September 2, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 5 hours ago Share Posted September 2, 2017 - script pvp_map -1,{ OnPCLoadMapEvent: getmapxy .@ma$,.@ax,.@ay,0; if(.@ma$ == "pay_fild08") { message strcharinfo(0),"The map is currently in PVP mode so be ready!"; } } pay_fild08 mapflag loadevent 1 Quote Link to comment Share on other sites More sharing options...
1 Technoken Posted September 2, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: Thursday at 09:57 AM Share Posted September 2, 2017 You can try - script pvp_warp_announce -1,{ OnPCLoadMapEvent: if(getmapflag(strcharinfo(3), mf_pvp)){ announce "This is a PvP Area.",bc_blue|bc_self; } end; } Dont forget to add mapflag loadevent on the pvp maps. 1 Quote Link to comment Share on other sites More sharing options...
0 Nero Posted September 2, 2017 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 194 Reputation: 2 Joined: 12/18/11 Last Seen: April 8, 2020 Author Share Posted September 2, 2017 Thanks to all of you! Thumbs up!! Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted March 20, 2023 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1286 Reputation: 170 Joined: 06/12/12 Last Seen: 4 hours ago Share Posted March 20, 2023 1 hour ago, Astray said: Where do I put the .txt of these entering a PK/PvP scripts? I would like to know, thank you! same as you create custom script put into new text file, and name it. and put name of the file at script_custom.conf 1 Quote Link to comment Share on other sites More sharing options...
Question
Nero
Hello everyone i would like to request this one.
If map is in pvp = every warp there will be a self announce info.
Example at pay_fild08 is in pvp on. if you teleport on that area, you will see a broadcast to self with the "The map is currently in PVP mode so be ready!";
Thank you everyone and Godbless!
Link to comment
Share on other sites
5 answers 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.