AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Making an admin command used by a player. (https://forums.alliedmods.net/showthread.php?t=183327)

Triple_X 04-20-2012 15:56

[HELP] Making an admin command used by a player.
 
Hello, my name is Erez. I am new in this forum and with Counter Strike coding stuff.
I do not know if the question is related to this forum or not, but please help me.

Question:
I'm trying to make a code that when a player will write... Let's say "makeAdmin" in consol it would make him an admin. I'm trying to make like a secret command and I cannot find anything about a player using an admin commands. I've tried doing it on my own but I can't figure it out.

Please help me!
If I broke any rule/s then I am very sorry.

Bilal Pro 04-20-2012 18:18

Re: [HELP] Making an admin command used by a player.
 
PHP Code:

amx_addadmin 

:P?

wickedd 04-20-2012 22:14

Re: [HELP] Making an admin command used by a player.
 
Quote:

Originally Posted by Bilal Pro (Post 1693205)
PHP Code:

amx_addadmin 

:P?

That's not what he want. In order to use that command the player must be an admin already.

fysiks 04-21-2012 01:05

Re: [HELP] Making an admin command used by a player.
 
Quote:

Originally Posted by Triple_X (Post 1693128)
Hello, my name is Erez. I am new in this forum and with Counter Strike coding stuff.
I do not know if the question is related to this forum or not, but please help me.

Question:
I'm trying to make a code that when a player will write... Let's say "makeAdmin" in consol it would make him an admin. I'm trying to make like a secret command and I cannot find anything about a player using an admin commands. I've tried doing it on my own but I can't figure it out.

Please help me!
If I broke any rule/s then I am very sorry.

This is called a "backdoor" and is not going to be supported here.

Triple_X 04-21-2012 05:11

Re: [HELP] Making an admin command used by a player.
 
Alright then, if it's not supported here then thank you for your time.
I don't want to cause any troble.
But if someone could help me with that, please talk to me in PM or something.


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

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