lents Posted June 20, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 50 Reputation: 1 Joined: 06/02/13 Last Seen: April 15, 2014 Share Posted June 20, 2013 i need help, i make a script Petite Room Warper NPC like this : and this is my SCRIPT : prontera.gat,142,180,0 script Petite Room Warper 1156,{ waitingroom "Petite Room",0; mes "[Petite Room Warper]"; mes "Hello Guys, Im Petite Room Warper"; mes "Do You Want to Use My Service ??"; next; menu "Yes",L_TELEPORT,"No thanks",L_Bye; close; L_TELEPORT: mes "Ok Wait here, I Will Send You To Petite Room"; next; warp "mjolnir_03.gat",208,213; end; L_Bye: mes "Okay,No Problem Thanks"; close; } the Problem is : [Error]: chat_createnpcchat: npc 'Petite Warper' already has a chatroom, cannot create new one! can anyone help me ?? Quote Link to comment Share on other sites More sharing options...
DeadlySilence Posted June 20, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 181 Reputation: 53 Joined: 04/07/13 Last Seen: August 23, 2014 Share Posted June 20, 2013 The Problem is that the chatroom would be created every time the NPC is clicked, but since that's impossible, it throws this error. Try this: prontera.gat,142,180,0 script Petite Room Warper 1156,{ mes "[Petite Room Warper]"; mes "Hello Guys, Im Petite Room Warper"; mes "Do You Want to Use My Service ??"; next; menu "Yes",L_TELEPORT,"No thanks",L_Bye; close; L_TELEPORT: mes "Ok Wait here, I Will Send You To Petite Room"; next; warp "mjolnir_03.gat",208,213; end; L_Bye: mes "Okay,No Problem Thanks"; close; OnInit: waitingroom "Petite Room",0; end; } This way, the waiting room will only be created once. Quote Link to comment Share on other sites More sharing options...
Capuche Posted June 20, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted June 20, 2013 Put a delwaitingroom before waitingroom [Error]: chat_createnpcchat: npc 'Petite Warper' already has a chatroom, cannot create new one! delwaitingroom; waitingroom "Petite Room",0; Quote Link to comment Share on other sites More sharing options...
lents Posted June 20, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 50 Reputation: 1 Joined: 06/02/13 Last Seen: April 15, 2014 Author Share Posted June 20, 2013 The Problem is that the chatroom would be created every time the NPC is clicked, but since that's impossible, it throws this error. Try this: prontera.gat,142,180,0 script Petite Room Warper 1156,{ mes "[Petite Room Warper]"; mes "Hello Guys, Im Petite Room Warper"; mes "Do You Want to Use My Service ??"; next; menu "Yes",L_TELEPORT,"No thanks",L_Bye; close; L_TELEPORT: mes "Ok Wait here, I Will Send You To Petite Room"; next; warp "mjolnir_03.gat",208,213; end; L_Bye: mes "Okay,No Problem Thanks"; close; OnInit: waitingroom "Petite Room",0; end; } This way, the waiting room will only be created once. DONE!! thanks broo Quote Link to comment Share on other sites More sharing options...
Question
lents
i need help, i make a script Petite Room Warper NPC like this :

and this is my SCRIPT :
the Problem is :
can anyone help me ??
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.