Raised This Month: $ Target: $400
 0% 

How to write?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-18-2012 , 13:38   How to write?
Reply With Quote #1

How to write client command like #cstrike_something
When I put console_command(id, "#cstrike_something") console answer to this is unknown command, but this command exist.. Sorry for my english
__________________
Artifact is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-18-2012 , 14:18   Re: How to write?
Reply With Quote #2

PHP Code:
register_concmd("command""callback"
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.

Last edited by Bilal Pro; 04-18-2012 at 14:18.
Bilal Pro is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-18-2012 , 14:25   Re: How to write?
Reply With Quote #3

I dont get it... use #cstrike_something for example
__________________
Artifact is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 04-18-2012 , 15:33   Re: How to write?
Reply With Quote #4

show your code?
EpicMonkey is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-18-2012 , 16:51   Re: How to write?
Reply With Quote #5

I just started with this coded...
Just need this... Use:
PHP Code:
public client_connect(id)
{
if(
is_user_bot(id)) return PLUGIN_HANDLED;
else
{
console_cmd(id"#cstrike_something")
}
return 
PLUGIN_HANDLED;

__________________

Last edited by Artifact; 04-18-2012 at 16:51.
Artifact is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-19-2012 , 00:37   Re: How to write?
Reply With Quote #6

What is "#counterstrike_something"???? Does it work in your console when you type it in manually?
__________________
fysiks is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-19-2012 , 18:56   Re: How to write?
Reply With Quote #7

This command is in some file in valve folder...
__________________
Artifact is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-19-2012 , 21:50   Re: How to write?
Reply With Quote #8

Quote:
Originally Posted by Artifact View Post
This command is in some file in valve folder...
Is there some reason that you can't just say what the command is?

What are you actually trying to do?
__________________
fysiks is offline
Artifact
Veteran Member
Join Date: Jul 2010
Old 04-20-2012 , 11:08   Re: How to write?
Reply With Quote #9

#ServerBrowser_AddCurrentServer
__________________
Artifact is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-20-2012 , 11:40   Re: How to write?
Reply With Quote #10

Quote:
Originally Posted by Artifact View Post
#ServerBrowser_AddCurrentServer
This is not a valid command, type cmdlist to see a list of valid commands.

Last edited by claudiuhks; 04-20-2012 at 11:47.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Reply



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 07:46.


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