I want people to be able to type /mapname in chat to change the level.
I have tried this:
engine_changelevel(de_dust2); //undefined symbol
change_level(de_dust2); //undefined symbol
console_cmd(0, "rcon changelevel de_dust2") //not working
client_cmd(0, "rcon changelevel de_dust2") //not working
console_cmd(0 "rcon amx_map de_dust2") //not working
etc etc..
I don't understand what I need to #include..
Also, is there a smart way of not having to do 50 different functions, one for every map?
Thanks