Raised This Month: $ Target: $400
 0% 

SpecInfo changes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
STr!ker
Senior Member
Join Date: Jun 2009
Location: Germany
Old 11-05-2011 , 01:16   SpecInfo changes
Reply With Quote #1

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_connectid )
{
    
cl_prefs[id] = 0;
    if( !
is_user_botid ) )
    {
        if( 
get_pcvar_nump_list_default ) ) cl_prefs[id] |= FL_LIST;
        if( 
get_pcvar_nump_keys_default ) ) cl_prefs[id] |= FL_KEYS;
    
set_task (1.0"toggle_hide")
    }
    
get_user_nameidcl_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:
                formatextmplistLIST_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"tmpnamecs_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

Last edited by STr!ker; 11-05-2011 at 01:16.
STr!ker is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode