Jump to content

angelwarrior

Members
  • Posts

    29
  • Joined

  • Last visited

Community Answers

  1. angelwarrior's post in Instance dude or problem was marked as the answer   
    Sorry for doble post but i can't disable npc with this. My script is :
    prontera,150,150,0 script Instanced Prontera#a 101,{ set .@instance$, "Primer Jefe"; if (instance_id()) { if (select("Enter Instance.:Cancel.") == 2) end; if (instance_enter(.@instance$) != 0) { mes "Instance entrance ^FF0000failed^000000."; close; } } else { if (select("Create Instance.:Cancel.") == 2) end; if (instance_create(.@instance$) < 0) { mes "Instance creation ^FF0000failed^000000."; close; } mes "Instance created."; close2; instance_enter(.@instance$); .@map$ = instance_mapname("pvp_n_1-3"); monster .@map$,0,0,"--ja--",1296,1,0,2; } end; OnInstanceInit: disablenpc instance_npcname(strnpcinfo(0)); disablenpc instance_npcname("warpmvp1"); end; } pvp_n_1-3,100,140,0 script warpmvp1 45,2,2,{ warp "piso1",178,223; end; } EDIT: I put the script inside a npc in instance map and i can solved it. But i have another problem but i go to post it
×
×
  • Create New...