Yes you found it ! :
Quote:
17:44 - ****: csdm(dossier)
17:45 - ****: map(dossier)
17:45 - ****: amxx(fichier CFG)
17:45 - ****: clcmds
17:45 - ****: (parametre)
17:45 - ****: cmdaccess (parametre)
17:45 - ****: cmds(parametre)
17:46 - ****: configs(parametre)
17:46 - ****: core(parametre)
17:46 - ****: custommenuitems(CFG)
17:46 - ****: cvars(parametre)
17:46 - ****: hamdata(parametre)
17:47 - ****: ltm_cvars(CFG)
17:47 - ****: maps(parametre)
17:47 - ****: modules(parametre)
17:47 - ****: nadesmodes(CFG)
17:47 - ****: plugin(parametre)
17:48 - ****: plugins-zplague(parametre)
17:48 - ****: speech(para)
17:48 - ****: sql(CFG)
17:48 - ****: stats(para)
17:48 - ****: users(para)
17:48 - ****: zombieplague(CFG)
17:49 - ****: zombieplague(para)
17:49 - ****: zp_bank(doc texte)
17:49 - ****: zp_extraitems(para)
17:49 - ****: zp_zombieclasses(para)
|
In plugins-zplague =>
Code:
; - Quick tips -
; * Rename this file to disabled-zplague.ini to turn the mod off
; * Rename it back to plugins-zplague.ini to turn it on
; * Put a semi-colon in front of a plugin to disable it
; * Remove a semi-colon to re-enable a plugin
; * Add the word debug after a plugin to place it in debug mode
; Main plugin
zombie_plague40.amxx
; Default zombie classes
zp_zclasses40.amxx
; Add sub-plugins, custom zombie classes, and extra items here
/*================================================================================
-------------------------------------------
-*- [ZP] Extra Item: Knife Blink 1.2 -*-
-------------------------------------------
~~~~~~~~~~~~~~~
- Description -
~~~~~~~~~~~~~~~
This item/upgrade gives zombies the possibility to move rapidly towards a human over a short distance, when aiming at him and holding down the attack button.
================================================================================*/
#include <amxmodx>
#include <fakemeta>
#include <zombieplague>
#include <chr_engine>
#define MIN_DISTANCE 50
/*================================================================================
[Plugin Customization]
=================================================================================*/
new const g_item_name[] = { "Knife Blink (once)" }
const g_item_cost = 15
const g_iMaxDistance = 300;
/*============================================================================*/
new Float:g_fSpeed = 1000.0;
new Float:g_fDelay = 1.0;
new g_iMaxPlayers;
new g_iEnemy[33];
new g_iInBlink[33];
new Float:g_fLastSlash[33];
new g_iCanceled[33];
new g_iSlash[33];
new g_iBlinks[33];
new g_itemid_blink;
public plugin_init(){
register_plugin("[ZP] Extra Item: Knife Blink", "1.2", "pharse");
g_iMaxPlayers = get_maxplayers();
g_itemid_blink = zp_register_extra_item(g_item_name, g_item_cost, ZP_TEAM_ZOMBIE);
register_forward(FM_TraceLine, "FW_TraceLine_Post", 1);
register_forward(FM_Player
Thanks everyone for your help,
Jjth