27.09.2009, 12:29
See my FS? "Time System (Good for RPG Server)"? I got some cool thing for it.
What's the "COOL" thing? The cool thing is, well, not really cool, but, when you type /time, you'll see the time. So, your players will know what time is the server time. Well, it's so simple. REALLY SIMPLE. For the one who knows how, don't read this. If you read this, just don't LAUGH at it our SMILE on it.
Ok, here it is:
That's all (PLEASE DON'T LAUGH AT IT, SMILE ON IT, OR... OR.... NEVER MIND!
)
Ok, hope helpfull...
What's the "COOL" thing? The cool thing is, well, not really cool, but, when you type /time, you'll see the time. So, your players will know what time is the server time. Well, it's so simple. REALLY SIMPLE. For the one who knows how, don't read this. If you read this, just don't LAUGH at it our SMILE on it.
Ok, here it is:
Код:
#define COLOR_SYSTEM2 0x716CFFFF OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp("/time", cmdtext, true)) { new string[128]; if(hour > 9) { format(string,sizeof(string),"<~> Time: %i:00 <~>", hour); } else { format(string,sizeof(string), "<~> Time: 0%i:00 <~>", hour); } SendClientMessage(playerid, COLOR_SYSTEM2, string); return 1; } }

Ok, hope helpfull...