What's wrong ?
Help please what is with that code?
PHP Code:
|
Re: What's wrong ?
That code only shows it to a single player when show_info(id) is called.
|
Re: What's wrong ?
But I'm admin and can see message
|
Re: What's wrong ?
Show the whole code. If it's longer than a hundred lines, post it as an attachment.
|
Re: What's wrong ?
PHP Code:
|
Re: What's wrong ?
Ok, so that will show it to all players as you have experienced. Don't send it to "id", you need to loop through all players and send it only to those you want to see it.
The player index is "tempid" and you can show it to who ever you want with an if statement then show_hudmessage(tempid, ...). |
Re: What's wrong ?
Can you help with that please ?
|
Re: What's wrong ?
Example for looping through players: http://forums.alliedmods.net/showpos...92&postcount=4
|
Re: What's wrong ?
thanks. I will try it
|
| All times are GMT -4. The time now is 23:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.