Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[ANY] GameMe Connect Message


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 26.04.2016 18:12

<div><font size="5">GameMe Connect Message</font><br />This will display a connect message (adjusted through convar) when ever a player connects.<br /><br /><font size="4">How it works:</font><br />There is a webserver php script which will parse the gameme's API XML output into something smaller and readable for SteamWorks to read easily.<br /><br /><font size="4">Convars:</font><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sm_gmconnect_enable 1 //Enables/Disables this plugin.<br />sm_gmconnect_redirect &quot;&quot; //Link to the hosted PHP script<br />sm_gmconnect_account &quot;&quot; //Gameme Account<br />sm_gmconnect_format &quot;--&quot; //Connect Message format, see below {1}<br />sm_gmconnect_flag &quot;b&quot; // User must have this flag to be able to see the connect message, set to blank for all players can see.<br />sm_gmconnect_game &quot;&quot; //Game of which the server is currently wanting to poll, i.e. &quot;csgo&quot;/&quot;tf2&quot; {2}<br />sm_gmconnect_method &quot;0&quot; //Method of when the connect message is shown; 0 = OnClientAuth, 1 = Player_spawn</code><hr />
</div><b>{1} Formatted String</b><br />The connect message (as of v1.1.0) has only a few options to print: rank, time, kills, deaths, assists.<br />These tags are replaced with the following:<br />{rank} - Player's Overall Rank.<br />{kills} - Player's total kills<br />{deaths} - Player's total deaths.<br />{assists} - Player's total assists.<br />{itime} - Prints out the int value of time<br />{ftime} - Prints out the formatted string of time.<br />There are color tags which are replaced with their corresponding unicode, i.e. {07}/{08} will be replaced with the source2009 unicode to do hex color codes: {07}FF0000 will be Full Red, etc.<br /><br />Example format (CS:GO): <br />{0F}[{10}GMC{0F}]{03} {name}{01} connected. Rank: #{04}{rank}<br /><font color="Red">[</font><font color="DarkOrange">GMC</font><font color="Red">]</font> <font color="DarkOrchid">mtch</font> connected. Rank: #<font color="Lime">16</font><br /><br /><b>{2} Game Convar</b><br /> This is a convar just incase you want tf2/csgo stats to show up in other games, etc.<br /><a href="https://www.gameme.c...upported_games"target="_blank">List of supported games by GameMe</a><br /><br /><br /><font size="4">Setup</font><br />Just upload the <a href="https://github.com/MitchDizzle/GameMeConnect/blob/master/webserver/gamemeconnect.php" target="_blank">php script</a> to your webspace, and setup the config to your gameme account to poll.<br /><br /><br />Right now the plugin only works for getting the overall status the player's accounts, player kills and deaths will be from all game servers in the selected game/account pair. I plan on adding more to this, and having the ability to request more specific stats. Right now the php script is generic as fuck, and will error out if not properly handled.<br /><br /><font size="5"><b><u>DOWNLOAD</u></b></font><br /><font size="4"><a href="https://github.com/MitchDizzle/GameMeConnect/blob/master/plugins/gameme_connect.smx?raw=true" target="_blank">Plugin</a></font><br /><a href="https://github.com/MitchDizzle/GameMeConnect/blob/master/webserver/gamemeconnect.php" target="_blank"><b>WebServer PHP Script</b></a><br /><a href="https://github.com/MitchDizzle/GameMeConnect/blob/master/scripting/gameme_connect.sp" target="_blank">Source</a><br /><a href="https://github.com/MitchDizzle/GameMeConnect" target="_blank">Github</a></div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych