Results 1 to 8 of 8

Thread: mohaa console messages

  1. #1

    Question mohaa console messages

    how do i write all those console messages and the yellow messages to appear in the game can anyone explain it all to me plx?

  2. #2

    Default

    Quote Originally Posted by faadi27 View Post
    how do i write all those console messages and the yellow messages to appear in the game can anyone explain it all to me plx?
    You mean from a script?

    E.g.

    println "something" <---- white console text

    iprintln "something" <---- yellow text

    iprintlnbold "something" <---- white text

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

    Default

    Hi faadi27
    Code:
    while (1) 
        { 
            wait 15 
            stuffsrv "say Type something here" 
            wait 45 
        }
    u can also use this but reporn patch required
    Greetings :-{[T_P]}- BeroO -{[CF]}-
    the-pharaohs.enjin.com

  4. #4

    Default

    i dont know anything about it like where to paste these commands or how to do it
    so if you can explain it all for me that i have to put which file in which folder

  5. #5

    Default

    where do i have to put this?

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

    Default

    Ok u should create folder in ur main folder and name it [Global] then u should have file scr called (DMprecache.scr) u can create one
    Create New Text Document.txt and rename it to DMprecache.scr and change the format file from "txt" to "scr" [.scr]
    this is the format file of DMprecache


    Code:
    cache models/player/german_worker.tik
    cache models/projectiles/steilhandgranate_primary.tik
    cache models/static/45cal_crate.tik
    cache models/static/50cal_crate.tik
    cache models/static/barbwire_two_post.tik
    cache models/static/bshelf-tall-thin.tik
    cache models/static/corona_orange.tik
    cache models/static/corona_reg.tik
    cache models/static/cratelid1.tik
    cache models/static/cratelid2.tik
    cache models/static/indycrate.tik
    cache models/static/locker.tik
    cache models/static/nazi_crate.tik
    cache models/static/oldladypainting.tik
    cache models/static/piano.tik
    cache models/static/planningtable.tik
    cache models/static/sandbag_link_leftbend.tik
    cache models/static/sandbag_link_main.tik
    cache models/static/sandbag_link_rightbend.tik
    cache models/static/sandbag_link_topcap.tik
    cache models/static/single_bed.tik
    cache models/static/smallfilecabinet.tik
    cache models/static/static_cablespool_full.tik
    cache models/static/static_nazibanner.tik
    cache models/static/static_naziflag2.tik
    cache models/statweapons/mg42_bipod_nonstatic.tik
    cache models/statweapons/mg42_gun.tik
    cache models/statweapons/mg42_gun_viewmodel.tik
    cache models/vehicles/panzer_iv.tik
    cache models/vehicles/shermantank.tik
    cache models/weapons/bar.tik
    cache models/weapons/bazooka.tik
    cache models/weapons/colt45.tik
    cache models/weapons/kar98.tik
    cache models/weapons/kar98sniper.tik
    cache models/weapons/m1_garand.tik
    cache models/weapons/m2frag_grenade.tik
    cache models/weapons/m2frag_grenade_sp.tik
    cache models/weapons/mp40.tik
    cache models/weapons/mp44.tik
    cache models/weapons/p38.tik
    cache models/weapons/panzerschreck.tik
    cache models/weapons/shotgun.tik
    cache models/weapons/springfield.tik
    cache models/weapons/steilhandgranate.tik
    cache models/weapons/thompsonsmg.tik
    
    level waittill spawn
    exec global/"msg".scr   // u can change the name of file whice u put it
    end
    then create New Text Document.txt again for Console message (i will explain u with name of this file "msg" u can rename it as u like but keep u should put the same name in DMprecache file and the correct path as i explain to u ) then open this file "msg" and put this code into it
    Code:
    main:
    while(1)
    {
    wait 15
    stuffsrv "say Welcome to the server" //console msg
    iprintln "Welcome to the server" // the yellow game message which below the compass
    iprintlnbold "Welcome to the server" // the white game message which below the compass
    wait45
    }
    end
    and change the format file to "scr"
    Greetings :-{[T_P]}- BeroO -{[CF]}-
    the-pharaohs.enjin.com

  7. #7

  8. #8

Tags for this Thread

Posting Permissions

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