SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 23/09/2015, 06:04 PM   #1
Stoyanov
Huge Clucker
 
Join Date: Feb 2014
Posts: 225
Reputation: 2
Default Question about timer for a player.

How is more correctly?

This:

Code:
timer[playerid] = SetTimerEx.......
or this:

Code:
timer = SetTimerEx.......
Stoyanov is offline   Reply With Quote
Old 23/09/2015, 07:20 PM   #2
rappy93
Huge Clucker
 
rappy93's Avatar
 
Join Date: Mar 2012
Location: Romania
Posts: 449
Reputation: 18
Default Re: Question about timer for a player.

Both are correct, it all depends on what you're making the timer for. If you're making a player timer you could use timer[playerid] I guess. If you want to set a timer for a public then use timer = SetTimerEx.
__________________
Nothing.
rappy93 is offline   Reply With Quote
Old 23/09/2015, 07:26 PM   #3
Stoyanov
Huge Clucker
 
Join Date: Feb 2014
Posts: 225
Reputation: 2
Default Re: Question about timer for a player.

trying to make timer for 1 player. Thanks
Stoyanov is offline   Reply With Quote
Reply

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
Timer question Finn707 Scripting Help 3 10/05/2015 09:57 PM
Timer question Xenforox Scripting Help 4 08/05/2014 11:10 PM
Timer question HighFlyer Scripting Help 2 23/09/2012 03:41 PM
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 question... OldDirtyBastard Help Archive 1 21/11/2010 04:10 PM


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


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