Raised This Month: $32 Target: $400
 8% 

Advanced Chat [ v2.3 ] for CS1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Korxu
Senior Member
Join Date: Sep 2010
Old 12-06-2011 , 15:01   Re: Advanced Chat [ v1.3 | BETA ]
Reply With Quote #11

Quote:
Originally Posted by -Kid- View Post
No, just arrays
Mmh... can you show me an example or tutorial?
Korxu is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 12-06-2011 , 17:15   Re: Advanced Chat [ v1.3 | BETA ]
Reply With Quote #12

stock send_the_message ( const index, message [ ] )

Could still get more optimized, if you use the "a", "b", ...
__________________
Retired.
Xalus is offline
Korxu
Senior Member
Join Date: Sep 2010
Old 12-07-2011 , 03:23   Re: Advanced Chat [ v1.3 | BETA ]
Reply With Quote #13

Quote:
Originally Posted by Xalus View Post
stock send_the_message ( const index, message [ ] )

Could still get more optimized, if you use the "a", "b", ...
Sorry, but I still don't understand you.... You want to say that I could assign a letter to each group of the menu to send a message, and check the letter before send the custom message?
Korxu is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 12-07-2011 , 12:17   Re: Advanced Chat [ v1.3 | BETA ]
Reply With Quote #14

Example:

PHP Code:
switch(num) {
     case 
1get_players(..., "a"// All alive players
     
case 2get_players(..., "b"// All dead players
}
for (
i=0i<playerCounti++) 
   
player Players[i
__________________
Retired.
Xalus is offline
Korxu
Senior Member
Join Date: Sep 2010
Old 12-07-2011 , 14:56   Re: Advanced Chat [ v1.3 | BETA ]
Reply With Quote #15

Quote:
Originally Posted by Xalus View Post
Example:

PHP Code:
switch(num) {
     case 
1get_players(..., "a"// All alive players
     
case 2get_players(..., "b"// All dead players
}
for (
i=0i<playerCounti++) 
   
player Players[i
Well, thanks... but, I have to add more checks depending of the group selected to send the message... And if I add all, it will repeat a lot of conditions in each player of the loop... I continue thinking that do a simply switch and a for-loop of connected players is better....

Updated v2.0, see the changelog.

Thread updated.
- Deleted old screenshot and added new.
- Changed configuration section.

Updated v2.1, see the changelog.

Thread updated.

Updated v2.2, see the changelog.

Updated v2.3, see the changelog.

Last edited by Korxu; 12-08-2011 at 07:35. Reason: Updated, see changelog.
Korxu is offline
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 12-12-2011 , 08:28   Re: Advanced Chat [ v2.3 ] for CS1.6
Reply With Quote #16

FOR Korxu

IS this plugin allows to send message to a player as a chat>? i mean you can say a thing to a player that hes the only one who can see???>>>?
__________________
Isaac999 is offline
Korxu
Senior Member
Join Date: Sep 2010
Old 12-12-2011 , 09:29   Re: Advanced Chat [ v2.3 ] for CS1.6
Reply With Quote #17

Quote:
Originally Posted by Isaac999 View Post
FOR Korxu

IS this plugin allows to send message to a player as a chat>? i mean you can say a thing to a player that hes the only one who can see???>>>?
And why you don't read the plugin description ?

Yes, one of the features of this plugins is that you can send a custom message to a specific player or a group of players.
Korxu is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-03-2016 , 14:12   Re: Advanced Chat [ v2.3 ] for CS1.6
Reply With Quote #18

Plugin is missing.
__________________
HamletEagle is offline
XLN's | [Lo]Phreak^n^c
Senior Member
Join Date: May 2006
Location: Argentina
Old 01-03-2016 , 15:21   Re: Advanced Chat [ v2.3 ] for CS1.6
Reply With Quote #19

if someone needs it
Attached Files
File Type: sma Get Plugin or Get Source (advanced_chat.sma - 389 views - 27.8 KB)
__________________
::: If u're 555 then I'm 666 :::
XLN's | [Lo]Phreak^n^c is offline
Reply



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 15:45.


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