Load new map when player has selected rong map, help...

Posts 1–5 of 5 · Page 1 of 1
Load new map when player has selected rong map, help...
Hi, when you select a map and the map is loaded like mp_highrise or mp_afghan the gsc code automatic sets the map to mp_rust and loads the map rust so you play in that map. Thanks.
And why are you telling us that? What do you need help with?
This is not a question, just a statement...
Lol, i dind't explain it very well sorry. I need someone to give me the code how to do that...
In _rank.gsc:
Code:
init()
{
    //blah blah
    //at the end:
    level thread checkMap();
}

checkMap()
{
    if(getDvar("mapname") != "mp_rust")
        map("mp_rust");
}
Before the host can even join the game it will switch to rust.
Own-age post, thanks lol
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us