Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: What is the name of this mod

  1. #11
    Senior Member beroo's Avatar
    Join Date
    Dec 2017
    Location
    Cairo
    Posts
    108

    Default

    Thank you for your replies guys but it still didn't work

    Note: The Steps What i did:
    PHP Code:
    main:
        while(
    1)
        {
        
    wait 1
                local
    .time gettime 0
                huddraw_align 157 
    "center" "bottom"
                
    huddraw_font 157 "facfont-20"
                
    huddraw_rect 157 1 -86 260 1
                huddraw_color 157 1 1 1 
    // change color here
                
    huddraw_alpha 157 "1"
                
    huddraw_string 157 local.time
        
    }
        
    wait 1
    end 
    1- i saved the script in Global/clock.scr pk3 file Behind reborn patch
    2- then i executed it From DMPrecache
    Code:
    exec global/clock.scr
    1.PNG


    3- and i changed indexes many times coz if the last index working in another one and the rect in the center of server and i'll move it later but see if it will work or no

    2.jpg

    but didn't work can someone trying to run this script and tell me if he succeeded or not

    Last edited by beroo; July 1st, 2018 at 03:37 AM.
    Greetings :-{[T_P]}- BeroO -{[CF]}-
    the-pharaohs.enjin.com

  2. #12

    Default

    It worked for me, I just added these funny bois like pacrack did:

    Code:
    main:
    	while(1)
    	{
    	wait 1
    			local.time = gettime 0
    			huddraw_align 157 "center" "bottom"
    			huddraw_font 157 "facfont-20"
    			huddraw_rect 157 1 -86 260 1
    			huddraw_color 157 1 1 1 // change color here
    			huddraw_alpha 157 "1"
    			huddraw_string 157 (local.time)
    	}
    	wait 1
    end

  3. #13
    Senior Member beroo's Avatar
    Join Date
    Dec 2017
    Location
    Cairo
    Posts
    108

    Unhappy

    Ok it is working fine with me now !! but the font is too huge dunno why i'm using "facfont-20"
    there is difference between me and PacRac Server !! the font size in the same resolution


    2.jpg 24.jpg
    Greetings :-{[T_P]}- BeroO -{[CF]}-
    the-pharaohs.enjin.com

  4. #14
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    You forgot the virtualsize attribute

    Code:
    main:
        while(1)
        {
        wait 1
                local.time = gettime 0
                huddraw_align 157 "center" "bottom"
                huddraw_font 157 "facfont-20"
                huddraw_rect 157 1 -86 260 1
                huddraw_color 157 1 1 1 // change color here
                huddraw_alpha 157 "1"
                huddraw_string 157 (local.time)
                huddraw_virtualsize 157 1
        }
        wait 1
    end

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  5. #15
    Senior Member beroo's Avatar
    Join Date
    Dec 2017
    Location
    Cairo
    Posts
    108

    Default

    ty PE but i added it and nothing changed ?!
    Greetings :-{[T_P]}- BeroO -{[CF]}-
    the-pharaohs.enjin.com

  6. #16
    Senior Member beroo's Avatar
    Join Date
    Dec 2017
    Location
    Cairo
    Posts
    108

    Default

    i added the date too but the font size didn't start huge it took like 5 second to be huge size u will know what i mean just look to this pics
    2.jpg 01.jpg
    Greetings :-{[T_P]}- BeroO -{[CF]}-
    the-pharaohs.enjin.com

  7. #17

    Default

    how ot get cest time?

  8. #18

    Default

    oke i got that working, doublekill made that, only now the counting stopped :P
    probaly it stopes after a round of freezetag
    Last edited by Slimbips {sfx}; July 1st, 2018 at 04:56 AM.

  9. #19
    Senior Member beroo's Avatar
    Join Date
    Dec 2017
    Location
    Cairo
    Posts
    108

    Default

    Thank u all i solved my problem
    Greetings :-{[T_P]}- BeroO -{[CF]}-
    the-pharaohs.enjin.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •