//Requirements checkif(GoldRoomTimeLimit> gettimetick(2)){
mes .@n$;
mes "Im sorry you have to wait for 12 hours before entering again, the room is cooling down.";
close;}
mes .@n$;
mes "Which room do you want to enter?";
next;.@sel= select("1 hour room","2 hours room","3 hours room");.@inst$=.instance$[.@sel];
mes .@n$;
mes "To enter the room you need these";for(.@i=0;.@i< getarraysize(.requirements);.@i+=2){
mes getitemname(.requirements[.@i])+" "+.requirements[.@i+1]*.@sel+"x";}
mes "Confirm?";
next;if(select("Confirm","Cancel")==2){
close;}.@check=Req(.@sel,0);if(!.@check){
mes "You don't have enough required items to enter this room.";
close;}Req(.@sel,1);GoldRoomTimeLimit= gettimetick(2)+3600*.@sel+43200;GPLimit=10000*.@sel;GPEarned=0;.@error= instance_create(.@inst$, IM_CHAR);if(.@error<0){
mes .@n$;
mes "Instance creation failed with error code "+.@error+".";
mes "Please report this to the GM team.";
close;}
instance_enter(.@inst$);
end;break;
Issue is npc dont warp the player inside the map. No error at map-server and Instanced was created.
[Info]: [Instance] Created map '1#rdeal_1-1' ('981') from map 'ordeal_1-1' ('148')
Question
Radian
Hey guys, I need help with this part of a script.
Issue is npc dont warp the player inside the map. No error at map-server and Instanced was created.
Link to comment
Share on other sites
4 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.