Raised This Month: $ Target: $400
 0% 

Scripting Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 05-30-2013 , 03:51   Re: Scripting Help
Reply With Quote #2

Quote:
Originally Posted by tanayraj View Post
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" ");

From where you got that?
UchihaSkills is offline
 



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