fireicesurfer Posted April 17, 2020 Group: Members Topic Count: 34 Topics Per Day: 0.02 Content Count: 101 Reputation: 3 Joined: 04/15/20 Last Seen: August 21, 2023 Share Posted April 17, 2020 (edited) Im having error and the game freezes. prontera,164,187,5 script PVP Warper 657,{ for (.@i = 0; .@i < .map_size; .@i++) .@menu$ = .@menu$ + .map$[.@i] + "("+getmapusers(.map$[.@i])+" user(s))" + ":"; .@i = select(.@menu$) - 1; mapannounce .map$[.@i], strcharinfo(0)+ " has entered this PVP room.", bc_map; warp .map$[.@i], 0, 0; end; OnInit: setarray .map$, "guild_vs3"; .map_size = getarraysize(.map$); end; OnPCKillEvent: if( strcharinfo(3) == "guild_vs3" || strcharinfo(3) == "guild_vs2" ) announce strcharinfo(0)+" killed "+rid2name(killedrid)+" at "+strcharinfo(3)+".",0; end; } Edited April 18, 2020 by Emistry codebox Quote Link to comment Share on other sites More sharing options...
0 BeWan Posted April 17, 2020 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 403 Reputation: 249 Joined: 07/04/19 Last Seen: 19 hours ago Share Posted April 17, 2020 post the error message. Quote Link to comment Share on other sites More sharing options...
Question
fireicesurfer
Im having error and the game freezes.
prontera,164,187,5 script PVP Warper 657,{ for (.@i = 0; .@i < .map_size; .@i++) .@menu$ = .@menu$ + .map$[.@i] + "("+getmapusers(.map$[.@i])+" user(s))" + ":"; .@i = select(.@menu$) - 1; mapannounce .map$[.@i], strcharinfo(0)+ " has entered this PVP room.", bc_map; warp .map$[.@i], 0, 0; end; OnInit: setarray .map$, "guild_vs3"; .map_size = getarraysize(.map$); end; OnPCKillEvent: if( strcharinfo(3) == "guild_vs3" || strcharinfo(3) == "guild_vs2" ) announce strcharinfo(0)+" killed "+rid2name(killedrid)+" at "+strcharinfo(3)+".",0; end; }
codebox
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.