The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
disable,enable npc
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
NANORAY
how to make this script hide when server starts? then specific time it will appear then after 5 mins it will literaly hide and stop. emistry send me a code
OnClockXXXX:
hideoffnpc strnpcinfo(3);
sleep ( 5 * 60000 );
OnInit:
hideonnpc strnpcinfo(3);
end;
but when i tried it, yes it is invisible, then on a specific time it appears but after 5 mins i can still use the npc even the npc are already invisible.
scenario:
1. npc hide
2. npc appeared on specific time set
3. im using the npc continuously (enter yes enter yes.....)
4. 5 mins later the npc hides
5. i can still use the npc.
6. the only way i can stop it is by using cancel selection.
Link to comment
Share on other sites
5 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.