How to make it so that when a player is entering the server and he was in command of Spectator?
Here's the script:
HTML Code:
#include <amxmodx>
#include <cstrike>
public plugin_init()
register_plugin("test", "0.0", "Author")
public client_putinserver(id)
{
engclient_cmd(id, "jointeam", "6")
engclient_cmd(id, "specmode", "1")
engclient_cmd(id, "chooseteam", "1")
}
But the problem is this:
1. No first MOTD window.
2. No window to select the class (and should not open it)
How to do it
right?