Post: Clock Name C#
02-22-2015, 12:08 PM #1
XxBlud23xX
< ^ > < ^ >
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys, I've been trying to get the clock name to work. But I just don't know how to do it, lol. I know it has something to do with System.Diagnostics but that's no help xD. Can you guys help me, like always I will squeeze your name into the credits.
(adsbygoogle = window.adsbygoogle || []).push({});
02-22-2015, 05:11 PM #2
B777x
Hurah!
Originally posted by DEXBLUD23 View Post
Hey guys, I've been trying to get the clock name to work. But I just don't know how to do it, lol. I know it has something to do with System.Diagnostics but that's no help xD. Can you guys help me, like always I will squeeze your name into the credits.


to get the current time/date you can use "DateTime.Now" or "DateTime.UtcNow"
then use "ToString()" to format it
and then just set it to the player name Smile

Example: * The output will be 23:59:59
    PS3.Extension.WriteString(0x00, DateTime.Now.ToString("HH:mm:ss));

^ i don't have the offset for the player name Smile
^ so i just put it "0x00"


* you can use "string.Format()" or "ToString()" for formating

this will help you with formatting
You must login or register to view this content.

The following user thanked B777x for this useful post:

XxBlud23xX
02-22-2015, 11:01 PM #3
XxBlud23xX
< ^ > < ^ >
Originally posted by B777x View Post
to get the current time/date you can use "DateTime.Now" or "DateTime.UtcNow"
then use "ToString()" to format it
and then just set it to the player name Smile

Example: * The output will be 23:59:59
    PS3.Extension.WriteString(0x00, DateTime.Now.ToString("HH:mm:ss));

^ i don't have the offset for the player name Smile
^ so i just put it "0x00"


* you can use "string.Format()" or "ToString()" for formating

this will help you with formatting
You must login or register to view this content.


Thanks again bro, your the best.
02-23-2015, 12:39 AM #4
XxBlud23xX
< ^ > < ^ >
Originally posted by DEXBLUD23 View Post
Thanks again bro, your the best.


Ok I got it, but It doesn't tick.
02-23-2015, 11:19 AM #5
B777x
Hurah!
Originally posted by DEXBLUD23 View Post
Ok I got it, but It doesn't tick.


use it in timer Smile
02-23-2015, 02:25 PM #6
XxBlud23xX
< ^ > < ^ >
Oh duh, xD.
02-23-2015, 04:24 PM #7
XxBlud23xX
< ^ > < ^ >
Originally posted by DEXBLUD23 View Post
Oh duh, xD.


I always get the hard part, but the stupid things I miss. I really appreciate your help. You have been given credit xD.
02-23-2015, 07:57 PM #8
B777x
Hurah!
Originally posted by DEXBLUD23 View Post
I always get the hard part, but the stupid things I miss. I really appreciate your help. You have been given credit xD.


i am the same as you Smile

i will recommend reading the code twice
and see how it will work
before you think you're done with it Smile
02-23-2015, 11:05 PM #9
XxBlud23xX
< ^ > < ^ >
Originally posted by B777x View Post
i am the same as you Smile

i will recommend reading the code twice
and see how it will work
before you think you're done with it Smile


It works I tested it using a label. Thanks bro.
03-02-2015, 02:05 AM #10
XxBlud23xX
< ^ > < ^ >
Originally posted by B777x View Post
to get the current time/date you can use "DateTime.Now" or "DateTime.UtcNow"
then use "ToString()" to format it
and then just set it to the player name Smile

Example: * The output will be 23:59:59
    PS3.Extension.WriteString(0x00, DateTime.Now.ToString("HH:mm:ss));

^ i don't have the offset for the player name Smile
^ so i just put it "0x00"


* you can use "string.Format()" or "ToString()" for formating

this will help you with formatting
You must login or register to view this content.


One more thing before they close this thread. Do you know the offset to get the map name?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo