Jump to content

Question

Posted

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;
}

 

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...