[FilterScript] Simple Real Time Clock SA:MP
#1

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)
Reply
#2

Awesome work mate. +rep
Better remove that egaming textdraw
Reply
#3

Nice work mate
Reply
#4

Good Work +rep
Reply
#5

good job, congratulations!
Reply
#6

Quote:
Originally Posted by SpikY_
Посмотреть сообщение
Awesome work mate. +rep
Better remove that egaming textdraw
Just make callback OnPlayerSpawn like this

Код:
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
Reply
#7

Like it 1REP
Reply
#8

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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)