how to create timers
#1

read the title
Reply
#2

DUDE STOP SPAMMING THE SCRIPTING DISCUSSION... USE THE FUCKING SEARCH BUTTON!
Reply
#3

The pawn compiler says it all...

SetTimer ( funcname [ ] , interval , bool: repeating );

funcname : The name of the public function to be called
interval : The time between these functions being called (1000 = 1 second, 10000 = 10 secs etc)
repeating : Is it repeated? true or false

Please use the search button in future
Reply
#4

genesis,i don't understand you
Reply
#5

SetTimer ( "RandomTimer" , 1500 , true );

Theres an example. Change "RandomTimer" to the name of your public function and 1500 to the time you want. ( I wouldnt go less than 200 )
Reply
#6

Quote:
Originally Posted by sandisk125
genesis,i don't understand you
he explain you all what u need to know ... when u dubble click on SetTimer in pawno it write u this things ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)