Raised This Month: $ Target: $400
 0% 

[HELP] How to execute server console command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 04-03-2014 , 06:29   [HELP] How to execute server console command
Reply With Quote #1

Hi, all! My idea is like in some case (no matter what), I need to execute a command in the server console, like: "amx_slay" or "amx_banip". So, I want to ask how to make the script for this, if it's possible. Something like:
server_console("amx_banip %s 200 "Hack"", user_name)
Thanks in advance!!
Flick3rR is offline
Send a message via Skype™ to Flick3rR
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-03-2014 , 06:32   Re: [HELP] How to execute server console command
Reply With Quote #2

server_cmd

Really, did you even try to look yourself first?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 04-03-2014 , 07:27   Re: [HELP] How to execute server console command
Reply With Quote #3

Quote:
Originally Posted by YamiKaitou View Post
server_cmd

Really, did you even try to look yourself first?
Thanks. So, do you think I didn't try. I tried, but didn't find exactly what I was searching. Thanks, wasn't that hard, how I expected
{Don't hate the noobz}
Flick3rR is offline
Send a message via Skype™ to Flick3rR
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-03-2014 , 07:43   Re: [HELP] How to execute server console command
Reply With Quote #4

Quote:
Originally Posted by Flick3rR View Post
Thanks. So, do you think I didn't try. I tried, but didn't find exactly what I was searching. Thanks, wasn't that hard, how I expected
{Don't hate the noobz}
http://www.amxmodx.org/funcwiki.php?...ver_&go=search
https://mxr.alliedmods.net/amxmodx-c...mxmodx-central
These 2 simple searches prove that you didn't search. A 3rd search would have been to look in your include files
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 04-03-2014 , 08:26   Re: [HELP] How to execute server console command
Reply With Quote #5

OK, I didn't search with this keywords, because I didn't get the idea. I searched with other keywords like: execute server console command plugin
how to attach console command in plugin
and other likewise... Didn't get the result after all, but you are here to help the good unsearchfull people like me. Thanks
{Don't hate the noobz}
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 04-03-2014 , 11:20   Re: [HELP] How to execute server console command
Reply With Quote #6

Quote:
Originally Posted by YamiKaitou View Post
http://www.amxmodx.org/funcwiki.php?...ver_&go=search
https://mxr.alliedmods.net/amxmodx-c...mxmodx-central
These 2 simple searches prove that you didn't search. A 3rd search would have been to look in your include files
I thought the funcwiki was broken?
Edit: Nvm, it defenitely is...
Quote:
Originally Posted by Funcwiki
134 functions found
__________________

Last edited by Black Rose; 04-03-2014 at 11:22.
Black Rose is offline
Reply


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 05:56.


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