hi guys,

1.
can u tell me how to get player's ping (latency)
or Self ping.

2.
how can i make console commands
eg. when i costume command in the console say

changenextgame "mp_rust" "sd"

it should run my function in my mod
i.e.
changenextgame(nextmap, nexttype)
{
setDvar("sv_maprotation", "gametype " + nextmap + " map " + nexttype + " " + getDvar("sv_maprotation"));
}

Regards