 |
|
Member
|

06-07-2009
, 07:28
Re: Chat print help.
|
#3
|
First of all , thank you for you`r reply.
ThingstoShowInMessage should be "adminname, clientname"
But how i make adminname = the name of the admin that executed the command
And how i make clientname = the client on wich the command was used.
PHP Code:
client_print(id, print_chat, "Command : $s mp_freezetime 0", adminname)
This is how the command should be? Wright ?
But it won`t work like this because i dont have "new adminname[32] and other stuff".
Can you please write the whole code that is being used by the client_print function above ? And explain to me the whole thing ? I wan`t to know this so in the future i won`t boder anyone else .
Second question :
If in stead of freeze time is KICK command.
I want this :
PHP Code:
client_print(id, print_chat, "Command : %s used command Llama on %s", adminname, clientname)
This is how it should be , write ?
In question 1 , the one above you will explain hot i get adminname defined , now explain how i get adminname AND clientname defined (defined i mean to make the function work fine)
THANK YOU
Last edited by Cretu; 06-07-2009 at 07:31.
|
|
|
|