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

[forums.alliedmods.net] JailBreak - FreeKiller List API


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

Napisano 10.03.2012 10:57

FreeKiller List
v0.0.1
by CreePs



Introduction:

Plugin is very helpful for all jailbreak server's to clean the freekiller's from the server by added them to the freekiller list
And enjoy a nice jailbreak server clean from freekiller's
Plugin has easy data management to freeze / banned players on server data



Admin Console Commands:

add_freekiller <name> <reason> | Admin access - ADMIN_BAN

Client Commands:

say /fklist - shows the freekiller's list in console
say /mystats & /mystatus - shows client his status (banned from ct or not banned from any team)

Admin Commands:

say /fkdata - open the Data Management menu for easy control of the freekiller list support offline player's

Plugin API:

native's:


PHP Code:

/**
*
* Check if player is a freekiller
*
* @param Client - Index of player
*
* @return True if user FreeKiller, false if user not FreeKiller
*/
native is_user_freekiller( const client );

/**
*
* Set a player freekiller
*
* @param Client - Index of player
* @param Value - Integer value assigned to Key
* @param Reason - The reason player is banned/freeze from ct team
*
* @noreturn
*/
native set_user_freekiller( const client, bool:freekiller = false, const reason_msg[] );

forward's:


PHP Code:

/**
*
* Called a player when freekiler putinserver
*
* @param Client - Index of player
*
* @return Return values are ignored
*
*/
forward Forward_FreeKiller_putinserver( const client );

/**
*
* Called a player when freekiler authorized
*
* @param Client - Index of player
*
* @return Return values are ignored
*
*/
forward Forward_FreeKiller_authorized( const client );

/**
*
* Called a freekiler when disconnect the server
*
* @param Client - Index of player
*
* @return Return values are ignored
*
*/
forward Forward_FreeKiller_disconnect( const client );

/**
*
* Called a freekiler has joining the ct team
*
* @param Client - Index of player
*
* @return Return values are ignored
*
*/
forward Forward_FreeKiller_joinct( const client );

Plugin Requirements:

  • AMX Mod X 1.8.0 or higher
  • Steam
  • Fakemeta Module
  • FVault System

Credits:

CreePs - made the plugin
Exolent[jNr] - FVault System

Changelog:

v0.0.1 - first public release

Note:

I test this plugin in my server for a long time i have not found any bug's if you found any report it on the thread ty

i will support this mod post here in the thread if you got any question or proposal to improve this mod

PLUGIN is NOT supporting NONSTEAM

enjoy this plugin i hope it will be helpful



Attached Files Dołączona grafika Get Plugin or Get Source (FreeKiller.sma - 12.6 KB) Dołączona grafika freekiller_inc.inc (1.6 KB)

Wyświetl pełny artykuł




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

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