AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [help] with admin menu (https://forums.alliedmods.net/showthread.php?t=232169)

Fuck For Fun 12-26-2013 16:43

[help] with admin menu
 
Trash

tonykaram1993 12-26-2013 17:11

Re: [help] with admin menu
 
I could not understand anything. Please explain in ENGLISH what is your problem.

Fuck For Fun 12-26-2013 17:48

Re: [help] with admin menu
 
Read again, and you will
i tired to make admin menu for my Server

but i want to do !t name
and he will transfer to t team + get a respawn for that
I failed it

so now i try to do !t
and it will open the teammenu that too not working..

tonykaram1993 12-26-2013 17:56

Re: [help] with admin menu
 
No I won't read again, that English simply gave me a headache.
Let me see if I got what you want correctly, you want the admin to be able to type in chat:
Code:

say: !t tony
And when he does so, 'tony' will get transferred to the Terrorist team and get revived? If so, then my friend you could have searched for it. You have 'Admin Slash' plugin that enables you to execute commands from chat. Find another plugin that transfers players to the specified team and you can use those two plugin together to get what you desire.

Fuck For Fun 12-26-2013 18:03

Re: [help] with admin menu
 
Quote:

Originally Posted by tonykaram1993 (Post 2076774)
No I won't read again, that English simply gave me a headache.
Let me see if I got what you want correctly, you want the admin to be able to type in chat:
Code:

say: !t tony
And when he does so, 'tony' will get transferred to the Terrorist team and get revived? If so, then my friend you could have searched for it. You have 'Admin Slash' plugin that enables you to execute commands from chat. Find another plugin that transfers players to the specified team and you can use those two plugin together to get what you desire.

yeah, but we dont need a fully of admin menu?

just how to do it
say: !t name
ColorChat: admin %s he transfer %s to T team.
how i do it in public?

PHP Code:

register_clcmd("say !t""Prisoner"); 

PHP Code:

public Prisonerplayer )
{
cs_set_user_teamplayerCS_TEAM_T );

dllfuncDLLFunc_Spawnplayer ); 

should be work?

and if dont find name of player that admin write in !t name
and no wrote the name of team
PHP Code:

            else
            {
                
ColorChatclient"^3Error^1: Invalid Team" );
            }

            else
            {
                
ColorChatclient"^3Error^1: no find this player" );
            } 



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

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