Client Connect + Client_print
Please help me..
How can i find the ip on event: public client_connect(id) And How can i make this text to have color blue client_print(0, print_chat, "(Say: CTs) <%s> : %s", name, message2); And this red client_print(0, print_chat, "(Say: Terrorist) <%s> : %s", name, message2); |
Re: Client Connect + Client_print
Use get_user_ip() + http://forums.alliedmods.net/showthread.php?t=94960 to color.
|
Re: Client Connect + Client_print
well thanks. But on the
get_user_ip ( index, ip[], len, [ without_port ] ) can you give me an example of a code? |
Re: Client Connect + Client_print
get_user_ip(id, IP, 15, 0)
This format i thing is not right... Tell me how can i save a clients ip on the variable IP |
Re: Client Connect + Client_print
The syntax is right, though you may want to not get the port, so use 1 instead of 0.
|
| All times are GMT -4. The time now is 15:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.