#1

how to put the time and date over the money and health example 14:33 and 03.08.2016 and it replace 04.08.2016 when come 00:00 hours and when come 14:44 replace with 14:44
Reply
#2

Use the UNIX timestamp. There are a few good tutorials on the forum on how to use it correctly. I'm sorry for not going into further detail - I haven't slept yet.

Not passing any arguments to gettime will cause it to return the UNIX timestamp: https://sampwiki.blast.hk/wiki/Gettime
Reply
#3

Use CTime much better, I've already use it into my server.

http://imgur.com/GfNWiDv
Reply
#4

tnx guys
Reply
#5

dont work plugin
Reply
#6

Show the logs
Maybe it needs Visual C++
Reply
#7

Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[15:08:08] 
[15:08:08] Server Plugins
[15:08:08] --------------
[15:08:08]  Loading plugin: sscanf
[15:08:08] 

[15:08:08]  ===============================

[15:08:08]       sscanf plugin loaded.     

[15:08:08]    © 2009 Alex "******" Cole

[15:08:08]    0.3d-R2 800 Players "dnee"

[15:08:08]  ===============================

[15:08:08] sscanf error: The current build ONLY supports 0.3d
[15:08:08]   Loaded.
[15:08:08]  Loading plugin: streamer
[15:08:08] 

*** Streamer Plugin v2.6 by Incognito loaded ***

[15:08:08]   Loaded.
[15:08:08]  Loading plugin: Whirlpool
[15:08:08]  
[15:08:08]  ==================
[15:08:08]  
[15:08:08]   Whirlpool loaded
[15:08:08]  
[15:08:08]  ==================
[15:08:08]  
[15:08:08]   Loaded.
[15:08:08]  Loading plugin: Ctime
[15:08:08]   Failed.
[15:08:08]  Loading plugin: crashdetect
[15:08:08]   CrashDetect v4.15.1 is OK.
[15:08:08]   Loaded.
[15:08:08]  Loaded 4 plugins.

[15:08:08] 
[15:08:08] Filterscripts
[15:08:08] ---------------
[15:08:08]   Loading filterscript 'TEST.amx'...
[15:08:09] Textdraw file generated by
[15:08:09]     Zamaroht's textdraw editor was loaded.
[15:08:09]   Loading filterscript 'Prc.amx'...
[15:08:09] 
--------------------------------------
[15:08:09]  Blank Filterscript by your name here
[15:08:09] --------------------------------------

[15:08:09]   Loaded 2 filterscripts.

[15:08:09]  
[15:08:09]  
[15:08:09]  
[15:08:09]  ======================================= 
[15:08:09]  |                                     | 
[15:08:09]  |        YSI version 1.06.0002        | 
[15:08:09]  |        By Alex "******" Cole        | 
[15:08:09]  |                                     | 
[15:08:09]  ======================================= 
[15:08:09]  
[15:08:09]  
[15:08:09]  
[15:08:09] 
----------------------------------
[15:08:09]  BARP V.0.1.0  
[15:08:09] ----------------------------------

[15:08:09] Number of vehicle models: 8
[15:08:09]  
[15:08:09]  ========================================== 
[15:08:09]  |                                        | 
[15:08:09]  |  A new version (v3.09.0684) of YSI is  | 
[15:08:09]  |            available from:             | 
[15:08:09]  |                                        | 
[15:08:09]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[15:08:09]  |                                        | 
[15:08:09]  | Changelog:                             | 
[15:08:09]  |                                        | 
[15:08:09]  |   3.00.0000:                           | 
[15:08:09]  |                                        | 
[15:08:09]  |   YSI 3.0 released!  Now includes the  | 
[15:08:09]  | "y_text" library for better messages,  | 
[15:08:09]  | and a reworked "y_classes" library.    | 
[15:08:09]  | Largely documented here                | 
[15:08:09]  | "http://forum.sa-mp.com/showthread.php | 
[15:08:09]  | ?t=321092".                            | 
[15:08:09]  |                                        | 
[15:08:09]  |   3.01.0002:                           | 
[15:08:09]  |                                        | 
[15:08:09]  |   Small fixes to "y_text" and          | 
[15:08:09]  | "y_classes".                           | 
[15:08:09]  |                                        | 
[15:08:09]  |   3.09.0684:                           | 
[15:08:09]  |                                        | 
[15:08:09]  |   Reverted to old download location.   | 
[15:08:09]  | Improved (and fixed) version checks;   | 
[15:08:09]  | added y_bitmap, y_areas, y_races,      | 
[15:08:09]  | y_zonenames, better documentation;     | 
[15:08:09]  | MANY other bug fixes - see the github  | 
[15:08:09]  | repository for more details:           | 
[15:08:09]  |                                        | 
[15:08:09]  ========================================== 
[15:08:09]
Reply
#8

Quote:
Originally Posted by Dejan12345
Посмотреть сообщение
Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[15:08:08] 
[15:08:08] Server Plugins
[15:08:08] --------------
[15:08:08]  Loading plugin: sscanf
[15:08:08] 

[15:08:08]  ===============================

[15:08:08]       sscanf plugin loaded.     

[15:08:08]    © 2009 Alex "******" Cole

[15:08:08]    0.3d-R2 800 Players "dnee"

[15:08:08]  ===============================

[15:08:08] sscanf error: The current build ONLY supports 0.3d
[15:08:08]   Loaded.
[15:08:08]  Loading plugin: streamer
[15:08:08] 

*** Streamer Plugin v2.6 by Incognito loaded ***

[15:08:08]   Loaded.
[15:08:08]  Loading plugin: Whirlpool
[15:08:08]  
[15:08:08]  ==================
[15:08:08]  
[15:08:08]   Whirlpool loaded
[15:08:08]  
[15:08:08]  ==================
[15:08:08]  
[15:08:08]   Loaded.
[15:08:08]  Loading plugin: Ctime
[15:08:08]   Failed.
[15:08:08]  Loading plugin: crashdetect
[15:08:08]   CrashDetect v4.15.1 is OK.
[15:08:08]   Loaded.
[15:08:08]  Loaded 4 plugins.

[15:08:08] 
[15:08:08] Filterscripts
[15:08:08] ---------------
[15:08:08]   Loading filterscript 'TEST.amx'...
[15:08:09] Textdraw file generated by
[15:08:09]     Zamaroht's textdraw editor was loaded.
[15:08:09]   Loading filterscript 'Prc.amx'...
[15:08:09] 
--------------------------------------
[15:08:09]  Blank Filterscript by your name here
[15:08:09] --------------------------------------

[15:08:09]   Loaded 2 filterscripts.

[15:08:09]  
[15:08:09]  
[15:08:09]  
[15:08:09]  ======================================= 
[15:08:09]  |                                     | 
[15:08:09]  |        YSI version 1.06.0002        | 
[15:08:09]  |        By Alex "******" Cole        | 
[15:08:09]  |                                     | 
[15:08:09]  ======================================= 
[15:08:09]  
[15:08:09]  
[15:08:09]  
[15:08:09] 
----------------------------------
[15:08:09]  BARP V.0.1.0  
[15:08:09] ----------------------------------

[15:08:09] Number of vehicle models: 8
[15:08:09]  
[15:08:09]  ========================================== 
[15:08:09]  |                                        | 
[15:08:09]  |  A new version (v3.09.0684) of YSI is  | 
[15:08:09]  |            available from:             | 
[15:08:09]  |                                        | 
[15:08:09]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[15:08:09]  |                                        | 
[15:08:09]  | Changelog:                             | 
[15:08:09]  |                                        | 
[15:08:09]  |   3.00.0000:                           | 
[15:08:09]  |                                        | 
[15:08:09]  |   YSI 3.0 released!  Now includes the  | 
[15:08:09]  | "y_text" library for better messages,  | 
[15:08:09]  | and a reworked "y_classes" library.    | 
[15:08:09]  | Largely documented here                | 
[15:08:09]  | "http://forum.sa-mp.com/showthread.php | 
[15:08:09]  | ?t=321092".                            | 
[15:08:09]  |                                        | 
[15:08:09]  |   3.01.0002:                           | 
[15:08:09]  |                                        | 
[15:08:09]  |   Small fixes to "y_text" and          | 
[15:08:09]  | "y_classes".                           | 
[15:08:09]  |                                        | 
[15:08:09]  |   3.09.0684:                           | 
[15:08:09]  |                                        | 
[15:08:09]  |   Reverted to old download location.   | 
[15:08:09]  | Improved (and fixed) version checks;   | 
[15:08:09]  | added y_bitmap, y_areas, y_races,      | 
[15:08:09]  | y_zonenames, better documentation;     | 
[15:08:09]  | MANY other bug fixes - see the github  | 
[15:08:09]  | repository for more details:           | 
[15:08:09]  |                                        | 
[15:08:09]  ========================================== 
[15:08:09]
update your samp version
Reply
#9

Upgrade your sscanf and as well as your SA-MP.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)