Raised This Month: $ Target: $400
 0% 

Scripting Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tanayraj
Member
Join Date: Sep 2011
Location: India
Old 05-30-2013 , 03:40   Scripting Help
Reply With Quote #1

Hi! i am new to scripting! i was wondering that how will we use the commands which are too long like (adding admin) in server_cmd
i tried this but it doesnt work i guess
Please teach me some method for this! thanks!
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_clcmd"say  admin""ClientCommand_Test" );
}
public 
ClientCommand_Testclient )
{
   
server_cmd("amx_addadmin" " "STEAM_0:1"  "ab" ""  "steamid" ");

__________________
__________________________________________
Add on steam -TaAaZZ28
Site -www.tanayr.com
tanayraj is offline
Send a message via Skype™ to tanayraj
 


Thread Tools
Display Modes

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 16:25.


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