Raised This Month: $12 Target: $400
 3% 

AMXX Chat Relay [Discord <=> Ingame]


Post New Thread Reply   
 
Thread Tools Display Modes
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 09-10-2019 , 12:05   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #11

Code:
Format specifier
Specifier 	Description
%b 	Binary digits in the value
%n 	Requires a client index. Expands to a string containing the player's name.
If the client index is 0, the string will be: Console
%N 	Requires a client index. Expands to 1<2><3><4> where 1 is the player's name, 2 is the player's userid, 3 is the player's SteamID, and 4 the player's team name.
If the client index is 0, the string will be: Console<0><Console><Console>
%l 	Translates a phrase from a key. Similar to %L with the difference it will use the client's index set internally by the function.
This is only allowed in functions which act directly on one or more clients.
Note:To complement this, a new ⇅ SetGlobalTransTarget native to set the current index has been added.
This is useful to be used before with natives which are not player-oriented", like a bunch of formatex.
PHP Code:
formatex(sMessageMAX_COMMAND_LENGTH"\*\*\* %n killed %n with a headshot from %s \*\*\*"killervictimsWpnName);
}
else
{
formatex(sMessageMAX_COMMAND_LENGTH"%n killed %n with %s"killervictimsWpnName); 
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
endnch
Junior Member
Join Date: Sep 2019
Old 09-10-2019 , 12:08   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #12

Yeah I was just looking into that, will try to use the %n specifier.

Edit: Done.

Last edited by endnch; 09-10-2019 at 12:58.
endnch is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 09-11-2019 , 15:45   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #13

1.10 is to ahead, 1.90 would had been appreciated, even the latest [5249] will also be considered great.
Alber9091 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 09-11-2019 , 15:53   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #14

MAX_NAME_LENGTH is already set by default in amx 1.9+
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 09-11-2019 , 16:31   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #15

Quote:
Originally Posted by iceeedr View Post
MAX_NAME_LENGTH is already set by default in amx 1.9+
I haven't seen plugin, but Aurthor in post mentioned Requirement AMXX 1.10
Alber9091 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 09-11-2019 , 16:52   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #16

And that is why I warned the author that it is not necessary to define "max_name_lenght" in the plugin, since the definition already exists by default in amxx 1.9 +
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
endnch
Junior Member
Join Date: Sep 2019
Old 09-12-2019 , 10:21   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #17

Quote:
Originally Posted by iceeedr View Post
MAX_NAME_LENGTH is already set by default in amx 1.9+
Fixed.
endnch is offline
hckr
Junior Member
Join Date: Sep 2019
Old 09-27-2019 , 18:19   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #18

Thanks for this job, I'm new at this and would like to know ¿How to install it for counter strike 1.6? ¡greetings!

Last edited by hckr; 09-27-2019 at 18:20.
hckr is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-27-2019 , 20:51   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #19

Quote:
Originally Posted by hckr View Post
Thanks for this job, I'm new at this and would like to know ¿How to install it for counter strike 1.6? ¡greetings!
It's nice to read the first post before asking questions that are already answered.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
hckr
Junior Member
Join Date: Sep 2019
Old 09-29-2019 , 21:52   Re: AMXX Chat Relay [Discord <=> Ingame]
Reply With Quote #20

Quote:
Originally Posted by OciXCrom View Post
It's nice to read the first post before asking questions that are already answered.
It's also good to read that I mentioned that I'm new at this and so far I've only used amxx plugins to copy and paste, and the guide to this is a little difficult for me, this message goes with !the best energy!


pd_ I know it's a lot to ask before such work done, but if someone makes a video guide how to install these great files would appreciate =D

Last edited by hckr; 09-29-2019 at 21:55.
hckr 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 02:08.


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