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"