1. There is a space, maybe wasn't copied correctly.
2. Why not?
3. I dont want to Hook Say for that, isn't a possible to use register_clcmd?
Sorry, I went full retard, didn't check the log. -_-
Quote:
|
[AMXX] Plugin "test.amxx" failed to load: Module/Library "iwasabi" required for plugin. Check modules.ini.
|
Working now.
PHP Code:
new const szSayCommandSlash[] = "say /pmodel"
new const szSayCommand[] = "say pmodel"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd(szSayCommand ,"Test")
register_clcmd(szSayCommandSlash,"Test")
}
public Test(id)
{
user_kill(id)
}
__________________