Quote:
Originally Posted by Kia
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. -_-
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) }
|
why would you use arrays for registring it as a command? It's easier to put the string into your register_clcmd() instead of creating an array (this will save CPU)
__________________