Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    Lmao .

  2. #17
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,994
    My Mood
    Flirty
    Quote Originally Posted by Stephen View Post
    You made this harder than it was
    /fp

    Good Job anyway /
    I agree LOL

  3. #18
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    the month must be +1 cause its from 0 - 11 but the other things are right^^

  4. #19
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    There are easier ways /

  5. #20
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    AcidBase
    Code:
        const time_t timer = time(NULL);
        MenuAddText (ctime(&timer),"");
    [code]
    const time_t timer = time(NULL);
    PrintText(pFont, 1, 1, Green, "The current time and date is: " ctime(&timer) [code]

    you could've just done one of these two but mmk
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  6. #21
    tahha's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    my keyboard or my bed
    Posts
    122
    Reputation
    9
    Thanks
    3
    Quote Originally Posted by God601 View Post
    This is completely my source so if you use it give credits.

    [php]#include <time.h>


    struct tm * current_tm;
    time_t current_time;time (&current_time);
    current_tm = localtime (&current_time);
    char *month []={"January","February","March","April","Mai","June ","July","August","September","October","November" ,"December"};
    char *Day []={"Sun","Mon","Tue","Wed","Thu","Fri","Sat"};
    char *Hour []={"12","1","2","3","4","5","6","7","8","9","10","1 1","12","1","2","3","4","5","6","7","8","9","10"," 11"};
    char *Sec []={"00","01","02","03","04","05","06","07","08","09 ","10","11","12","13","14","15","16","17","18","19 ","20","21","22","23","24","25","26","27","28","29 ","30","31","32","33","34","35","36","37","38","39 ","40","41","42","43","44","45","46","47","48","49 ","50","51","52","53","54","55","56","57","58","59 "};
    char *Min []={"00","01","02","03","04","05","06","07","08","09 ","10","11","12","13","14","15","16","17","18","19 ","20","21","22","23","24","25","26","27","28","29 ","30","31","32","33","34","35","36","37","38","39 ","40","41","42","43","44","45","46","47","48","49 ","50","51","52","53","54","55","56","57","58","59 "};
    char *logbuf = new char[ 256 ];
    sprintf( logbuf, "%s %s %02dth %d || %s:%s:%s",Day[current_tm->tm_wday], month[current_tm->tm_mon], current_tm->tm_mday, current_tm->tm_year+1900, Hour[current_tm->tm_hour], Min[current_tm->tm_min], Sec[current_tm->tm_sec]);
    [/php]And you can say this is kind of noob proof lol

    And this is what it looks like.

    you didnt noob proof it at all.....
    i c+p it and it works, you must have forgotten to noob proof lol
    rep+ for releasing it tho and thanks for the release as well
    (BTW: My Name Is PowerHouse On Other Forums)

    Click this to get PowerHouse Private!

  7. #22
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,193
    Reputation
    205
    Thanks
    1,438
    My Mood
    Mellow
    Whats with all this talk about noob proof? It does shit all.

  8. #23
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    543
    Reputation
    10
    Thanks
    359
    My Mood
    Amazed
    oh wtf... who did that on my account o.o

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  9. #24
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    I think longevity made this first!

  10. #25
    God601's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    In The End Of The Time
    Posts
    543
    Reputation
    10
    Thanks
    359
    My Mood
    Amazed
    i dont know , last 4 week i didnt went on my account x.x

    [REQUEST] Close all fucking post of Coryester , I know it;s him who posted all thoses shit.

    Starting my own Web hosting service
    Finaly completed.

    Progress for Exchange Server : 100%


  11. #26
    Gordon`'s Avatar
    Join Date
    Dec 2007
    Gender
    male
    Posts
    283
    Reputation
    24
    Thanks
    325
    Code:
      sprintf( logbuf, "%s %s %02dth %d || %s:%s:%s",Day[current_tm->tm_wday], month[current_tm->tm_mon], current_tm->tm_mday, current_tm->tm_year+1900, Hour[current_tm->tm_hour], Min[current_tm->tm_min], Sec[current_tm->tm_sec]);
    much easier without char arrays:

    Code:
      sprintf( logbuf, "%s %s %02dth %d || %02d:%02d:%02d",Day[current_tm->tm_wday], month[current_tm->tm_mon], current_tm->tm_mday, current_tm->tm_year+1900, current_tm->tm_hour, current_tm->tm_min, current_tm->tm_sec);
    then you dont need your arrays.

    btw when you call this each frame (present, beginscene, endscene, etc) it will give a each frame a memory leak of 256 bytes. be sure you free the memory (operator delete)

    and why the hell is this in the ca hack coding section?
    Last edited by Gordon`; 10-02-2010 at 01:26 AM.


  12. #27
    C00lGuy's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    136
    Reputation
    16
    Thanks
    304
    My Mood
    Busy
    Quote Originally Posted by God601 View Post
    i dont know , last 4 week i didnt went on my account x.x

    [REQUEST] Close all fucking post of Coryester , I know it;s him who posted all thoses shit.
    DUDE YOU GAVE ME YOUR INFO NUB

  13. #28
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,170
    Reputation
    490
    Thanks
    2,252
    Quote Originally Posted by C00lGuy View Post
    DUDE YOU GAVE ME YOUR INFO NUB
    Corster STFU Your Leecher Your Using My Editted Hans Menu In Your Base..Stupid Fuck

  14. #29
    Gab's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Qc, Canada
    Posts
    6,658
    Reputation
    1498
    Thanks
    1,466
    is it the Complete code? oO

  15. #30
    Don't be a prick, let me suck your dick.
    MPGH Member
    Paranormal's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Bel Air
    Posts
    2,117
    Reputation
    14
    Thanks
    187
    My Mood
    Amused
    Nice Job
    Thank you.
    Cuties<3

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Help] Get Time and Date
    By Web-Designer in forum Web Languages
    Replies: 2
    Last Post: 01-05-2011, 11:22 AM
  2. [Release] Time, date and FPS functions.
    By flameswor10 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 22
    Last Post: 12-19-2010, 11:53 AM
  3. [Help]Time and Date
    By ◘◘◘◘◘◘ in forum Combat Arms Coding Help & Discussion
    Replies: 5
    Last Post: 10-17-2010, 07:50 PM
  4. [C++ SOURCE]Simple D3D Show Time and Date
    By mastermods in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 12
    Last Post: 08-11-2010, 09:50 AM
  5. [RELEASE] Time & Date Function
    By Fabolous in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 26
    Last Post: 07-13-2010, 03:55 AM