The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
H> Fixing this warping function
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
utofaery
I need help fixing this part of the script
function script F_MvpArenaWarp { .@warpName$ = getmapinfo( strnpcinfo(3); // //pvp_n_3-4 .@nextwarp1$ = substr( .@warpName$ , 0, 5 ); //pvp_n_ .@nextwarp2$ = substr( .@warpName$ , 6, 6 ); //3 .@nextwarp3$ = substr( .@warpName$ , 7, 8 ); //-4 .@i = .@nextwarp2$; .@i = .@i + 1; .@nextwarp2$ = .@i; .@warpMap$ = .@nextwarp1$ + .@nextwarp2$ + .@nextwarp3$ ; dispbottom ( "Warped to :: " + .@warpName$ ); sleep (500); warp .@warpMap$,102,102; end; }
.@warpName$ = getmapinfo( strnpcinfo(3); // //pvp_n_3-4
this is the line not working. always returning 0 in game.
Link to comment
Share on other sites
3 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.