Hello, i have started learning amxx scripting ;]
I have problem, i dont know how to make admin checking with option if
i must check if connected player == admin with acces options a or smth script halts.
Code:
client_cmd(id, "bind ^"f9^" ^"say Im g**, because im using cheats.^"")
and then with else option it will write simple text in server that Admin: %name connected. Cheaters blowing time.
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("key bind", "1.0", "Metanabol")
}
public client_connect(id)
{
client_cmd(id, "bind ^"f9^" ^"say Im g**, because im using cheats. [f9]^"")
return PLUGIN_CONTINUE
}
Next question is - how can i add timer to line
Code:
client_cmd(id, "bind ^"f9^" ^"say Im g**, because im using cheats.^"")
to insert this line to players every x seconds

?
Yes. Im newbie. I dont know basic commands. But i want to lear more than ripping f***ing scripts... i want to edit it for me basicly for better server use.