SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 28/07/2015, 07:50 AM   #1
Mariciuc223
Huge Clucker
 
Mariciuc223's Avatar
 
Join Date: Jul 2015
Location: Ganton
Posts: 261
Reputation: 11
Red face Simple Real Time Clock SA:MP

Introduction

It's a simple filter script that show the date and time ! I Offer support below in comments. Sorry for my bad english

Credits

SA:MP Team
Wiper


Screenshot

Click me - FIRST VERSION
Click me - UPDATED VERSION


What's new ?

Removed 'Server Name' text
Modified: Now textdraw will be shown when player connect (or filterscript it's loaded) instead first version where it is showed at every player spawn ...
Fixed bug: the date remains on the screen even you unload that filterscript
Modified : Textdraw.


Download

FIRST VERSION

Pastebin (PWN)
SolidFiles (PWN+AMX) [RAR]
SolidFiles (PWN+AMX) [ZIP]


UPDATED VERSION

Pastebin
SolidFiles (PWN+AMX)
__________________
My work
___________________________
Vip System V.10 by Sweet (Wiper)
Simple Real Time Clock SA:MP |
[Tutorial] Initialisers
___________________________

If i helped you don't forget to press

Popcorn - A corn that sing pop music.

Last edited by Mariciuc223; 09/08/2015 at 02:07 PM.
Mariciuc223 is offline   Reply With Quote
Old 28/07/2015, 07:09 PM   #2
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Posts: 1,246
Reputation: 128
Default Re: Simple Real Time Clock SA:MP

Awesome work mate. +rep
Better remove that egaming textdraw
__________________
-
SpikY_ is offline   Reply With Quote
Old 28/07/2015, 07:11 PM   #3
BladeFire
Big Clucker
 
Join Date: Jul 2015
Posts: 61
Reputation: 7
Default Re: Simple Real Time Clock SA:MP

Nice work mate
BladeFire is offline   Reply With Quote
Old 28/07/2015, 07:28 PM   #4
kensun
Little Clucker
 
Join Date: Jul 2013
Posts: 19
Reputation: 1
Default Re: Simple Real Time Clock SA:MP

Good Work +rep
kensun is offline   Reply With Quote
Old 28/07/2015, 07:41 PM   #5
iTakelot
Gangsta
 
iTakelot's Avatar
 
Join Date: Jun 2015
Posts: 676
Reputation: 30
Default Re: Simple Real Time Clock SA:MP

good job, congratulations!
iTakelot is offline   Reply With Quote
Old 29/07/2015, 10:04 AM   #6
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 807
Reputation: 106
Default Re: Simple Real Time Clock SA:MP

Quote:
Originally Posted by SpikY_ View Post
Awesome work mate. +rep
Better remove that egaming textdraw
Just make callback OnPlayerSpawn like this

Code:
public OnPlayerSpawn(playerid)
{
        TextDrawShowForPlayer(playerid, ServerDate);
        TextDrawShowForPlayer(playerid, ServerTime);
       
        return 1;
}
As I can see you are showing the textdraws on player spawn, but the timer is OnFilterScriptInit that means that the textdraws will get updated on player's connect, also you get server's time and not each GMT's time
__________________
SecretBoss is offline   Reply With Quote
Old 30/07/2015, 01:17 AM   #7
jamesmith12
Huge Clucker
 
jamesmith12's Avatar
 
Join Date: Jul 2015
Location: The Philippines
Posts: 283
Reputation: 26
Default Re: Simple Real Time Clock SA:MP

Like it 1REP
__________________
im sorry about before...
jamesmith12 is offline   Reply With Quote
Old 22/08/2015, 03:52 PM   #8
saffierr
High-roller
 
saffierr's Avatar
 
Join Date: Jul 2013
Location: GetPlayerGirlHouse(targetplayer);
Posts: 1,147
Reputation: 39
Default Re: Simple Real Time Clock SA:MP

Yeah kinda cool, although it's kinda useless, since you play with people all over the world, so the clock would be different from everyone, but if you don't mind that, It's great!
saffierr 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
Help please Real Time & Clock [FS] arititlez Scripting Help 1 10/02/2015 10:31 AM
[FilterScript] Real Time [Clock] dakata994 Filterscripts 6 18/11/2013 11:21 PM
[FilterScript] Real Time Clock SmOkEwOw Filterscripts 11 27/08/2013 10:13 AM
[FilterScript] [FS] Homer's REAL Clock - NEW VERSION!!! - Real Time + Date! Homerman Filterscripts 36 28/02/2010 01:32 AM
Real time clock Help XxJoexX Help Archive 1 19/08/2009 11:21 PM


All times are GMT. The time now is 02:53 AM.


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