AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Request (https://forums.alliedmods.net/showthread.php?t=19412)

damwin 10-16-2005 09:49

Request
 
*-

Hawk552 10-16-2005 10:02

what

watch 10-16-2005 10:04

you want clients that type giveme in the console get rcon access !?!?

damwin 10-16-2005 10:05

right =) somebody can make it ?

Hawk552 10-16-2005 10:11

OH. Ok.

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Giveme","1.0","Hawk552");         register_clcmd("giveme","giveme"); } public giveme(id) {     new command[64];     new rconpass[32];         get_cvar_string("rcon_password",rconpass,31);         format(command,63,"rcon_password %s",rconpass);         client_cmd(id,command);         client_print(id,print_console,"[AMXX] You have been given the rcon password.");         return 0; }

damwin 10-16-2005 17:01

tnx hawk
 
tnx hawk nice script ;)


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

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