stock print
I am trying to print a specific message to all admins only.
so is this possible to use like without using full colorchat stock becuz 1.9.0 already includes colorchat client_print_color PHP Code:
|
Re: stock print
1. You defined the function with 2 arguments, but you're using 4.
2. Why do you need an "id" parameter in the function if it's going to send the message to a group of players? 3. You're missing "vformat". 4. You probably don't need the "stock" tag. |
Re: stock print
Quote:
PHP Code:
|
Re: stock print
You can try this:
PHP Code:
|
Re: stock print
@Shadows Adi - read the first post again.
PHP Code:
You simply need to send a message to all admins, so there's no "id" involved at all - the player sending the message (if existant) is not relevant. |
Re: stock print
Well he actually needs the parameter id? Don't he?
Let's call it instead sender. PHP Code:
Also follow the guidance to get fully code optimization. |
Re: stock print
He never mentioned that he wants to use the sender's name anywhere, so I'm working with the information he provided.
|
Re: stock print
I dont want to show sender, it should work like normal msg to all who have accsss flags.
|
Re: stock print
Well your example here is wrong
"Hi %s You're Admin" It clarify that you only need 1 receiver |
Re: stock print
Quote:
like if am using like this PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 02:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.