AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help say: .players online (https://forums.alliedmods.net/showthread.php?t=194503)

jg_20 08-28-2012 22:22

Help say: .players online
 
..

Torge 08-29-2012 01:35

Re: Help say: .players online
 
I can't see a client command..

Did you forgot to add.. ?

PHP Code:

register_clcmd("say .players""asd"); 


jg_20 08-29-2012 15:38

Re: Help say: .players online
 
Quote:

Originally Posted by Torge (Post 1785805)
I can't see a client command..

Did you forgot to add.. ?

PHP Code:

register_clcmd("say .players""asd"); 


There it is. But I need to put it this way ..

PHP Code:

register_clcmd("say .players online""asd"); 

How could I?

Torge 08-29-2012 15:41

Re: Help say: .players online
 
I think that can't work:

Quote:

register_clcmd("say .players online", "asd");
You need to use this way:

PHP Code:

register_clcmd("say .playersonline""asd"); 


jg_20 08-29-2012 15:48

Re: Help say: .players online
 
Quote:

Originally Posted by Torge (Post 1786353)
I think that can't work:



You need to use this way:

PHP Code:

register_clcmd("say .playersonline""asd"); 


Right does not work that way. But I wish I could put it this way: ".players online." I saw it on another server running well. /:

Torge 08-29-2012 15:54

Re: Help say: .players online
 
Well, you can try also this way:

PHP Code:

register_clcmd("say .players_online""asd"); 


jg_20 08-29-2012 16:06

Re: Help say: .players online
 
Yes, it works! but wanted to: .players online .. Without having to place the " _ " Well thanks for answering. Hopefully someone knows and help us.

Torge 08-29-2012 16:15

Re: Help say: .players online
 
Quote:

Originally Posted by jg_20 (Post 1786383)
Yes, it works! but wanted to: .players online .. Without having to place the " _ " Well thanks for answering. Hopefully someone knows and help us.

As much as I know, it's impossible.

gogicaa 08-29-2012 17:22

Re: Help say: .players online
 
Try by hooking say, and checking ".players online" with equal.

jg_20 08-29-2012 19:14

Re: Help say: .players online
 
Quote:

Originally Posted by gogicaa (Post 1786437)
Try by hooking say, and checking ".players online" with equal.

Could you help a little? some example


All times are GMT -4. The time now is 05:42.

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