SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 24/08/2011, 09:59 AM   #1
Serialflood
Little Clucker
 
Join Date: Jun 2009
Posts: 22
Reputation: 0
Default [HELP]Timer

Hello, first of all sorry for my bad english.
My question is, how can I create a timer that does not repeat itself to infinity but is repeated only once?
Serialflood is offline  
Old 24/08/2011, 10:00 AM   #2
Dragony92
Gangsta
 
Dragony92's Avatar
 
Join Date: Feb 2011
Location: Belgrade, Serbia
Posts: 571
Reputation: 57
Default Re: [HELP]Timer

SetTimer("Public", 1000, true);
__________________
Dragony92 is offline  
Old 24/08/2011, 10:02 AM   #3
Gazmull
Huge Clucker
 
Gazmull's Avatar
 
Join Date: Mar 2011
Posts: 207
Reputation: 4
Default Re: [HELP]Timer

Beaten[removed].
__________________
Not Funny-1.txt
Gazmull is offline  
Old 24/08/2011, 10:02 AM   #4
Serialflood
Little Clucker
 
Join Date: Jun 2009
Posts: 22
Reputation: 0
Default Re: [HELP]Timer

I try it but if i change 1 with 0 the script doesn't work
Serialflood is offline  
Old 24/08/2011, 10:23 AM   #5
Serialflood
Little Clucker
 
Join Date: Jun 2009
Posts: 22
Reputation: 0
Default Re: [HELP]Timer

Help me please
Serialflood is offline  
Old 24/08/2011, 10:25 AM   #6
Dragony92
Gangsta
 
Dragony92's Avatar
 
Join Date: Feb 2011
Location: Belgrade, Serbia
Posts: 571
Reputation: 57
Default Re: [HELP]Timer

SetTimer("Public", 1000, true);
__________________
Dragony92 is offline  
Old 24/08/2011, 10:31 AM   #7
Serialflood
Little Clucker
 
Join Date: Jun 2009
Posts: 22
Reputation: 0
Default Re: [HELP]Timer

But with true it repeat in infinite
Serialflood is offline  
Old 24/08/2011, 10:37 AM   #8
=WoR=Varth
High-roller
 
=WoR=Varth's Avatar
 
Join Date: Apr 2011
Location: Indonesia
Posts: 2,046
Reputation: 130
Default Re: [HELP]Timer

http://wiki.sa-mp.com/wiki/SetTimer
http://wiki.sa-mp.com/wiki/SetTimerEx
__________________
(RETIRED)
=WoR=Varth is offline  
Old 24/08/2011, 10:42 AM   #9
=WoR=G4M3Ov3r
High-roller
 
Join Date: Nov 2010
Location: www.Ambrosia-Servers.com
Posts: 1,831
Reputation: 329
Default Re: [HELP]Timer

PHP Code:
SetTimer("Public"1000false); 
=WoR=G4M3Ov3r is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A timer that loops through all players or a timer for each player? x-cutter Help Archive 2 28/05/2011 03:35 PM
Timer help boyan96 Help Archive 1 03/05/2011 04:34 PM
Timer Doesn't Run! VirSpectorX Help Archive 2 25/12/2010 09:50 AM
Help with Timer matute Help Archive 7 15/12/2010 05:44 PM
Timer help Oi! Help Archive 4 12/08/2009 11:24 AM


All times are GMT. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.