Akbare Posted January 19, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Share Posted January 19, 2012 thanks for read the thread i want to ask, how to make npc enable and disable the following day at Friday 13:00 to 16:00 This script would I use to safe refine npc thanks for advance Quote Link to comment Share on other sites More sharing options...
Joseph Posted January 19, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 341 Reputation: 43 Joined: 01/10/12 Last Seen: June 29, 2020 Share Posted January 19, 2012 (edited) map,x,y,z script NPC_Name Sprite,{ //Your Script Here end; OnClock1300: enablenpc strnpcinfo(0); end; OnClock1600: disablenpc strnpcinfo(0); end; OnInit: if (gettime(3) >= 13 && gettime(3) < 16) enablenpc strnpcinfo(0); disablenpc strnpcinfo(0); end; } Edited January 19, 2012 by Joseph Quote Link to comment Share on other sites More sharing options...
Akbare Posted January 19, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Author Share Posted January 19, 2012 thanks joseph....i want to try thanks Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 20, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted January 20, 2012 these line if (gettime(3) >= 13 && gettime(3) < 16) enablenpc strnpcinfo(0); disablenpc strnpcinfo(0); should be like this disablenpc strnpcinfo(0); if (gettime(3) >= 13 && gettime(3) < 16) enablenpc strnpcinfo(0); Quote Link to comment Share on other sites More sharing options...
Question
Akbare
thanks for read the thread
i want to ask,
how to make npc enable and disable the following day at
Friday 13:00 to 16:00
This script would I use to safe refine npc
thanks for advance
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.