Hello i am using this Plugin:
http://forums.alliedmods.net/showthr...=Ian+Cammarata
The problem is, that the admins are shown in the spectatorlist, but the plugin has a clcmd to hide the admins with say /spechide.
Now i try to make it, that they donīt need to write every map /spechide.
I have added a set_task in the client_connect task:
PHP Code:
public client_connect( id )
{
cl_prefs[id] = 0;
if( !is_user_bot( id ) )
{
if( get_pcvar_num( p_list_default ) ) cl_prefs[id] |= FL_LIST;
if( get_pcvar_num( p_keys_default ) ) cl_prefs[id] |= FL_KEYS;
set_task (1.0, "toggle_hide")
}
get_user_name( id, cl_names[id], 20 );
return PLUGIN_CONTINUE;
}
Then i try to add after the name of the watching player, that his money is shown in brackets.
l. 194:
i have tried this:
PHP Code:
formatex( tmplist, LIST_STR_LEN - 1, "^t^t^t^t^t^t^t^t^t^t^t^t^t^t^t^t^t^t(%d) %s %s (%d):^n", count, "%L", tmpname, cs_get_user_money);
it says me that the symbol is undefined, but in another plugin this symbol works:
http://forums.alliedmods.net/showpos...62&postcount=7