I have Code with chat cmds !votemap , !map
Code:
new arg[ 64 ], arg1[ 64 ], arg2[ 64 ], arg3[ 64 ], NameSz[ 32 ]
Code:
case VOTEMAP:
{
ColorChat(0, "^3%s^1 making a ^4Vote Map^1.", NameSz)
client_cmd( client, "amx_votemap %s %s %s %s", arg, arg1, arg2, arg3 );
}
Code:
case MAP_CHANGE:
{
ColorChat( 0, "^3%s^1 has used ^4Map Change^1 command.",NameSz)
client_cmd( client, "amx_map %s", arg );
}
Code:
Server tried to send invalid command:"amx_votemap"
Server tried to send invalid command:"amx_map"