Nokia Posted May 21, 2012 Posted May 21, 2012 How can i add an delay for NPCs? Example the warper, i want to add an delay for 1 minute, the player cant warp again till the 1 minute is gone. would be nice if its playerbased and not an delay for the whole npc. Quote
QQfoolsorellina Posted May 21, 2012 Posted May 21, 2012 (edited) if(gettimetick(2)-lastwarptime < 60){ mes "please wait 1 minute"; close; } set lastwarptime,gettimetick(2); Edited May 21, 2012 by QQfoolsorellina Quote
Question
Nokia
How can i add an delay for NPCs? Example the warper, i want to add an delay for 1 minute, the player cant warp again till the 1 minute is gone. would be nice if its playerbased and not an delay for the whole npc.
1 answer 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.