Team Info
Can anyone help me with the folowing code?
It prints the message "X joined Y team" every new round start.... :/ How can i block it ? Code:
code deleted, thanks Leon for help :) |
Re: Team Info
You probably have another plugin which sends a TeamInfo event on round start.
|
Re: Team Info
the code of the whole you post is to prints the message "X joined Y team" every new round start
if you want to block it, why you made this code :\ :) |
Re: Team Info
Quote:
The purpose of that code is to display that message every time the TeamInfo event is sent. |
Re: Team Info
Quote:
|
Re: Team Info
no i don't have any ohter plugin with that event..
i also have an older team info plugin, that prints ONLY when a person first joins the team, if he moves to another team it won't print.. |
Re: Team Info
TeamInfo message is sent every time a player spawns.
|
Re: Team Info
so is there any ohter event i could use ?
|
Re: Team Info
Use a global array, set the value to 0 at client disconnect. When teaminfo is called, only assign the team value to the array if the current array value is 0. Try to do it yourself, if you cannot figure it out I will do it for you.
Edit: Sorry, I misread your post. |
Re: Team Info
yes, i tried and worked, BUT when a player moved to another team it didn't print the message..
it printed only the first time he joins the server.. :/ |
| All times are GMT -4. The time now is 03:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.