AlliedModders
XFactor Servers

Strange problems


Post New Thread Reply   
 
Thread Tools Display Modes
Jelle
Senior Member
Karma: Neutral
Location: Denmark
Old 11-09-2009 , 11:25   Re: Strange problems
Reply With Quote #11

Do you maybe have anyother plugins.ini file? like plugins-shero.ini or plugins-zp.ini?
Maybe you have written a source code in there?
__________________
Jelle is offline
Send a message via MSN to Jelle
fysiks
Veteran Member
Karma: Good
Location: Flatland, USA
Old 11-09-2009 , 14:45   Re: Strange problems
Reply With Quote #12

Quote:
Originally Posted by Jelle View Post
Do you maybe have anyother plugins.ini file? like plugins-shero.ini or plugins-zp.ini?
Maybe you have written a source code in there?
Good call. I bet you are absolutely right.
__________________
All the functions, constants, and forwards in AMXX! CS and DOD specific sets of files including syntax highlighting for Notepad++. Get them here.



Bot Apology for TK
fysiks is offline
jjth01
New Member
Karma: Neutral
Old 11-10-2009 , 03:00   Re: Strange problems
Reply With Quote #13

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
jjth01 is offline
Reply


Thread Tools
Display Modes

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 19:04.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Theme made by Freecode Sponsored by Layered Technologies