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

[CSGO]Set Defuse Time


  • 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 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 23.12.2014 07:48


Description:
First of all, the idea is come from Counter-Strike 1.6, and the original thread here:
https://forums.alliedmods.net/showthread.php?t=158345"target="_blank">https://forums.alliedmods.net/showthread.php?t=158345. For sure the author is me:mrgreen:
and the AMXX version was done by Arkshine, so I port it to the SourceMod(only test on CS:GO, and I lazy to make it for the CS:S:mrgreen:)

native:


PHP Code:







/**

 * Set the player defuse bomb time

 *

 * @param client    index point to the player

 * @param time1    the time that the player defuse the bomb with the kit

 * @param time2    the time that the player defuse the bomb without the kit

 *

 * @return             return 1 on success, otherwise on failed.

 */

native SetClientDefuseTime(clienttime1time2); 










comment:
This is my first public plugin for SourceMod, any feedback or suggestions are welcome:)
test on CS:GO and work fine.

edited:The CS:S verion will be coming soon I 'm updating the CS:S server














Attached Files












https://forums.alliedmods.net/images/attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" />


http://www.sourcemod.net/vbcompiler.php?file_id=140990">GetPlugin or
https://forums.alliedmods.net/attachment.php?attachmentid=140990&d=1419317314">GetSource (Set_Defuse_Time.sp - 3.9 KB)


https://forums.alliedmods.net/images/attach/txt.gif"alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" />


https://forums.alliedmods.net/attachment.php?attachmentid=140991&d=1419317314">bombtime.games.txt(737 Bytes)










Wyświetl pełny artykuł






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

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