Raised This Month: $ Target: $400
 0% 

Team Info


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Amonel
Senior Member
Join Date: May 2009
Old 05-04-2010 , 02:47   Team Info
Reply With Quote #1

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 :)

Last edited by Amonel; 05-06-2010 at 05:55.
Amonel is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-04-2010 , 02:54   Re: Team Info
Reply With Quote #2

You probably have another plugin which sends a TeamInfo event on round start.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 05-04-2010 , 03:10   Re: Team Info
Reply With Quote #3

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 :\
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.
epic . is offline
Send a message via ICQ to epic .
Old 05-04-2010, 03:10
epic .
This message has been deleted by Exolent[jNr]. Reason: Double post.
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-04-2010 , 03:21   Re: Team Info
Reply With Quote #5

Quote:
Originally Posted by epic . View Post
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 :\
That is not the purpose of the code.
The purpose of that code is to display that message every time the TeamInfo event is sent.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 05-04-2010 , 04:15   Re: Team Info
Reply With Quote #6

Quote:
Originally Posted by Exolent[jNr] View Post
That is not the purpose of the code.
The purpose of that code is to display that message every time the TeamInfo event is sent.
Not all the people here is good at English, if you`d like to talking pedantically, you`d better find a rival who`s English is better than me. Hahaha
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.
epic . is offline
Send a message via ICQ to epic .
Amonel
Senior Member
Join Date: May 2009
Old 05-04-2010 , 13:34   Re: Team Info
Reply With Quote #7

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..
Amonel is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-04-2010 , 13:50   Re: Team Info
Reply With Quote #8

TeamInfo message is sent every time a player spawns.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Amonel
Senior Member
Join Date: May 2009
Old 05-05-2010 , 14:38   Re: Team Info
Reply With Quote #9

so is there any ohter event i could use ?
Amonel is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-05-2010 , 18:25   Re: Team Info
Reply With Quote #10

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.
__________________

Last edited by Bugsy; 05-05-2010 at 19:06.
Bugsy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode