Any pause function?
#1

Hey
Is there any pause/sleep/wait function in pawn which will pause executing the script for x miliseconds/seconds?

Thanks in advance for help
Reply
#2

Remember that PAWN is singled threaded, so using this function will stop everything ( Player updates, etc.. )

https://sampwiki.blast.hk/wiki/Code_Snippets
(Code at end of page)
Reply
#3

So I have to use timers to proper server working (I want to pause for example only script for one player)?
Reply
#4

Bump
Reply
#5

[Include] OnPlayerPause (Click Me!)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)