Quote:
Originally Posted by alan_el_more
thanks to all
@ Nextra
How do I do that?
|
PHP Code:
new bool:g_IsBot[33], g_IsConnected[33]
//...
public client_putinserver( id )
{
g_IsConnected[id] = true;
if( is_user_bot( id ) )
g_IsBot[id] = true;
}
public client_disconnect( id )
g_IsBot[id] = g_IsConnected[id] = false;
Then replace every is_user_connected and is_user_bot (this can be a biggy as you use both of these in an entity touch hook).
__________________