Raised This Month: $ Target: $400
 0% 

Can this cause reliable channel overflowed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
monolit
Junior Member
Join Date: May 2011
Old 05-18-2011 , 12:10   Can this cause reliable channel overflowed
Reply With Quote #1

Is it possible that this code will cause me reliable channel overflowed ?

PHP Code:
public CmdMaps(id)
{
    if(!(
get_user_flags(id) & ADMIN_BAN))
        return 
PLUGIN_HANDLED;
    
    
client_print_color(idDontChange"^4[ INFO ]^1 Map list printed to your ^3console")
    
client_print(idprint_console"de_oilgone")
    
client_print(idprint_console"de_stvillage")
    
client_print(idprint_console"de_sks_kazkas")
    
client_print(idprint_console"de_sks_atari")
    
client_print(idprint_console"de_sks_concrete2")
    
client_print(idprint_console"de_dust2_2x2")
    
client_print(idprint_console"de_cold")
    
client_print(idprint_console"de_desert")
    
client_print(idprint_console"de_dust_scarface")
    
client_print(idprint_console"de_dust2x2_unlimited")
    
client_print(idprint_console"de_shadysands")
    
client_print(idprint_console"aim_map")
    
client_print(idprint_console"aim_city2")
    
client_print(idprint_console"aim_aztec_rifles")
    
client_print(idprint_console"awp_arabia")
    
client_print(idprint_console"awp_gotfrag_beta")
    
client_print(idprint_console"awp_india")
    
client_print(idprint_console"fy_hallaralla")
    
client_print(idprint_console"fy_mythic")
    
client_print(idprint_console"fy_paragon_belial")
    
client_print(idprint_console"fy_pool_day")
    
client_print(idprint_console"fy_pool_day2")
    
client_print(idprint_console"fy_pool_evening")
    
client_print(idprint_console"fy_poolday_aztec_nude")
    
client_print(idprint_console"fy_poolparty")
    
client_print(idprint_console"mini_dust2")
    
client_print(idprint_console"nth_lets_take_mothers_tank")
    
client_print(idprint_console"gotfrag_aim_beta")
    
client_print(idprint_console"gotfrag_deagle_beta")
    
    return 
PLUGIN_HANDLED_MAIN;

monolit is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-18-2011 , 12:21   Re: Can this cause reliable channel overflowed
Reply With Quote #2

Yes.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
monolit
Junior Member
Join Date: May 2011
Old 05-18-2011 , 12:52   Re: Can this cause reliable channel overflowed
Reply With Quote #3

What is the best way to reduce it or do it in different way ? I want to display maps list or just maps for admins if they write !maps. (motd is not needed)
monolit is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-18-2011 , 13:11   Re: Can this cause reliable channel overflowed
Reply With Quote #4

PHP Code:
client_print(idprint_console"de_oilgone")
    
client_print(idprint_console"de_stvillage")
    
client_print(idprint_console"de_sks_kazkas"
->

PHP Code:
client_print(idprint_console"de_oilgone^nde_stvillage^nde_sks_kazkas"
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
monolit
Junior Member
Join Date: May 2011
Old 05-18-2011 , 13:14   Re: Can this cause reliable channel overflowed
Reply With Quote #5

Ok, also whats the difference between:

console_print
print_chat( print_console
monolit is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-18-2011 , 13:17   Re: Can this cause reliable channel overflowed
Reply With Quote #6

When the index you pass is a player index there is no difference, when you pass index=0, client_print prints to all player while console_print prints in server's console.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Old 05-28-2012, 06:53
alfre
This message has been deleted by Arkshine. Reason: Calm down, kid.
Reply



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 04:23.


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