AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to no player in scoreboard (https://forums.alliedmods.net/showthread.php?t=322364)

Abhinash 03-24-2020 16:07

How to no player in scoreboard
 
Hello everyone.
So, in ZP I want that no players to appear in T team of Scoreboard before infection.
I know it's possible with Orpheu, I guess.
But can anyone tell me how and show me how to do it ?

Bugsy 03-24-2020 23:28

Re: How to no player in scoreboard
 
PHP Code:

#include <amxmodx>

public plugin_init() 
{
    
register_messageget_user_msgid"TeamInfo" ) , "TeamInfo" );
}

public 
TeamInfo()
{
    
//if ( before infection )
    //{
    
set_msg_arg_string"CT" );
    
//}



Abhinash 03-26-2020 01:20

Re: How to no player in scoreboard
 
Quote:

Originally Posted by Bugsy (Post 2688424)
PHP Code:

#include <amxmodx>

public plugin_init() 
{
    
register_messageget_user_msgid"TeamInfo" ) , "TeamInfo" );
}

public 
TeamInfo()
{
    
//if ( before infection )
    //{
    
set_msg_arg_string"CT" );
    
//}



I am sorry, since I don't have access to PC to text because of Corona.
But, my question is if 32 players are connected then can this code show all 32 players as CT before infection ?

Bugsy 03-26-2020 21:26

Re: How to no player in scoreboard
 
Quote:

Originally Posted by Abhinash (Post 2688561)
I am sorry, since I don't have access to PC to text because of Corona.
But, my question is if 32 players are connected then can this code show all 32 players as CT before infection ?

Yes, it will support any number of players.


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

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