Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Question?
sampmark05
Big Clucker
Posts: 172
Threads: 43
Joined: Dec 2011
Reputation:
0
#1
24.05.2012, 01:43
How to make this timer 5minutes ? SetTimerEx("bankrob", 600000, false, "i", playerid);
Find
Reply
JaTochNietDan
High-roller
Posts: 2,502
Threads: 26
Joined: Apr 2007
Reputation:
0
#2
24.05.2012, 01:47
Well you currently have it set to 10 minutes which is 600,000 milliseconds, therefore 300,000 milliseconds is 5 minutes.
Find
Reply
MP2
Godfather
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
#3
24.05.2012, 02:21
A minute is 60 seconds, a second is 1000 miliseconds, so a minute is 60,000 miliseconds. Use '60000*minutes' - 'minutes' being how many minutes, so for example
pawn Код:
SetTimerEx
(
"bankrob"
,
60000
*
5
, false,
"i"
, playerid
)
;
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help