hi, have some weird problem:
PHP Code:
L 06/19/2009 - 23:50:27: [ENGINE] Invalid player 1
L 06/19/2009 - 23:50:27: [AMXX] Displaying debug trace (plugin "my_plugin.amxx")
L 06/19/2009 - 23:50:27: [AMXX] Run time error 10: native error (native "set_speak")
L 06/19/2009 - 23:50:27: [AMXX] [0] my_plugin.sma::client_authorized (line 485)
PHP Code:
public client_authorized(client)
{
client_cmd(client, "-voicerecord");
set_speak(client, SPEAK_MUTED);
}
and client_cmd works fine but set_speak says wrong player id, and same code works fine for client_putinserver
__________________