Hello, so im progressing in amxx scripting, i know what i want, but i simply cant find commands, whose i need to write well script.. i also don't know sintax in amxx scripting (its different from others).
My first question is: where i cant find both of commands with they value?
second is: im making simple script with cliend_cmd.
PHP Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("anti_reklamer", "1.0", "Metanabol")
}
public client_connect(id)
{
if(!(get_user_flags(id) && ADMIN_SLAY))
{
set_task(10.0,"bind", id)
}
}
public bind(id)
{
//here is the problem. how to read text from ini file and then do commands like: client_cmd(id, "bind" "button_from_ini" "command_from_ini_file_near_button"
//example ini file:
//"x" "radio2"
//"z" "radio1"
//"c" "radio3"
//"b" "buy"
//ant etc.
//also, i think i write bad checking getting user flags ant making timer for //setting client_cmd every 10 seconds to all players in my server.
return PLUGIN_CONTINUE
}
70% of lithuanian servers are using kiddie client_cmd binding z,x,c,b and other buttons to advertise they servers. This is really nervous sh*t. So i want to help players to clear it. :]
I can use simple swear filter, but i think binding out advertisments ir better.
And my last question is plugin_continue plugin_handle whats the difference? i cant understand....

p.s. sorry for bad english.
p.s. if someone write this part of little script, please //type every value after command line. i realy want to undestand it.