IsabelaFernandez Posted December 19, 2023 Group: Members Topic Count: 146 Topics Per Day: 0.06 Content Count: 355 Reputation: 8 Joined: 04/16/18 Last Seen: October 21, 2024 Share Posted December 19, 2023 This simple script is not announcing the pvp entry for all players to see, I did the test and not even the player who enters the arena sees the announcement. only those who are already inside the arena Spoiler prontera,155,189,5 script Arena PvP 801,{ for (.@i = 0; .@i < .map_size; .@i++) .@menu$ = .@menu$ + .map$[.@i] + " ("+getmapusers(.map$[.@i])+" Player Online)" + ":"; .@i = select(.@menu$) - 1; mapannounce .map$[.@i], strcharinfo(0)+ " entrou no PvP.", bc_all; warp .map$[.@i], 0, 0; end; OnInit: setarray .map$, "pvp_y_1-2", "guild_vs3"; .map_size = getarraysize(.map$); end; } Quote Link to comment Share on other sites More sharing options...
0 Balfear Posted December 19, 2023 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 256 Reputation: 242 Joined: 07/24/13 Last Seen: Friday at 10:32 PM Share Posted December 19, 2023 Because you are using mapannounce you need to use announce 1 Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted December 30, 2023 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2364 Joined: 10/28/11 Last Seen: Saturday at 07:02 PM Share Posted December 30, 2023 mapannounce .map$[.@i], strcharinfo(0)+ " entrou no PvP.", bc_all; change to announce strcharinfo(0)+ " entrou no PvP.", bc_all; Quote Link to comment Share on other sites More sharing options...
Question
IsabelaFernandez
This simple script is not announcing the pvp entry for all players to see, I did the test and not even the player who enters the arena sees the announcement. only those who are already inside the arena
prontera,155,189,5 script Arena PvP 801,{
for (.@i = 0; .@i < .map_size; .@i++)
.@menu$ = .@menu$ + .map$[.@i] + " ("+getmapusers(.map$[.@i])+" Player Online)" + ":";
.@i = select(.@menu$) - 1;
mapannounce .map$[.@i], strcharinfo(0)+ " entrou no PvP.", bc_all;
warp .map$[.@i], 0, 0;
end;
OnInit:
setarray .map$,
"pvp_y_1-2",
"guild_vs3";
.map_size = getarraysize(.map$);
end;
}
Link to comment
Share on other sites
2 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.