Jump to content
  • 0

Ned help


youtube

Question


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

http://pastebin.com/p3iJiRKr


what code for script for npc hide


 


description


when i talk the npc after the conversation the npc is hide


in 8mins


then after the 8mins the npc show again


 


please help


 


or


when i playing the song the other players cant play bcoz already play after the song can play again the another song.


 


this script for ANTI SPAWN SONG IN PRONTERA


Edited by youtube
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  07/22/13
  • Last Seen:  

try this

and this code to all case
 

delwaitingroom;
stopnpctimer;
initnpctimer;
disablenpc ""+strnpcinfo(0)+"";


and
 

OnTimer10000:
enablenpc ""+strnpcinfo(0)+"";
waitingroom "PlayUrSong-DJ Jard",0;
stopnpctimer;
end;
OnInit:
stopnpctimer;
initnpctimer;
delwaitingroom;
waitingroom "PlayUrSong-DJ Jard",0;
end;
}

 

ps. change timer at OnTimer10000: to Ontimer480000: (60000=1 minute / 480000=8 minutes)

Edited by SweetyBerriiz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  07/22/13
  • Last Seen:  

set timer to npc with this command http://rathena.org/wiki/Initnpctimer

 

and this command to control you npc show or hide http://rathena.org/wiki/Disablenpc

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

can you show me the code.. i cant understand madam.

i mean this topic for anti spawming song when i play the song the other players cant play bcoz already play

Edited by youtube
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

tnx madam :D

Edited by youtube
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...