Raised This Month: $ Target: $400
 0% 

AMXX Chat Relay [Discord <=> Ingame]


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

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
 



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 09:14.


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