View Full Version : Admin Slay 2X (F117bomb)
IceMouse[WrG]
03-21-2004, 13:42
Plugin made by F117bomb. Small ammount of functionality added...
New features:
Allowance to use "lighting" "blood" and "explode" in addition to 1 2 and 3
Addition of a "Silent kill" feature where the user can remove the alteration of deaths/frags and remove the deathmessages
Again, Thanks to F117Bomb for making this plugin
xmdxtremekiller
03-21-2004, 13:44
you have to put title like this (F117bomb) at the end.
IceMouse[WrG]
03-21-2004, 13:45
*Whistles* I did :roll:
kid chino
03-22-2004, 00:38
i dont get it. i type amx_slay2 <player>, and nothing happens :?: and yes, i added it to /plugins/ and plugins.ini :(
edit: hmmm..i just checked 'amxmodmenu' and under 'pause plugins', the plugin failed to load (it says ERROR)
IceMouse[WrG]
03-22-2004, 15:29
Any error messages?
SniperBeamer
03-22-2004, 16:17
This plugin uses amxmod.inc which we wrote for compatibility to AMX Mod plugins. When you use amxmod.inc it's an AMX Mod plugin not an AMX Mod X.
The plugin will no longer be approved until it uses amxmodx.inc.
kid chino
03-22-2004, 17:30
This plugin uses amxmod.inc which we wrote for compatibility to AMX Mod plugins. When you use amxmod.inc it's an AMX Mod plugin not an AMX Mod X.
The plugin will no longer be approved until it uses amxmodx.inc.
oh i understand now. guess ill jst have to wait :cry:
BAILOPAN
03-22-2004, 17:34
It will work, but it will not appear in the master database of plugins until the author uses the amxmodx headers.
IceMouse[WrG]
03-22-2004, 17:56
The amxmodx header is included in the amxmod header
/* AMX Mod X Backwards Compatibility
*
* by the AMX Mod X Development Team
*
* This file is provided as is (no warranties).
*/
#if defined _amxmod_included
#endinput
#endif
#define _amxmod_included
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fun>
BigBaller
03-22-2004, 20:30
Yea i know, just change the plugin to #include <amxmodx>
and change strtonum to str_to_num if your plugin uses that.
Thats what I had to do for ATAC
BAILOPAN
03-22-2004, 20:49
sniperbeamer wants it so we can eventually phase out use of amxmod.inc I think
IceMouse[WrG]
03-22-2004, 21:29
If I must...
EDIT: Done... You should include engine in amxmodx
SniperBeamer
03-23-2004, 04:44
no module include files will be added to amxmodx.inc
Hu
L 03/26/2004 - 22:32:35: [AMXX] Function not found (name "set_user_deaths") (plugin "admin_slay_2.amx")
and
unknown unknown unknown admin_slay_2.am bad load
??!
EDIT: Think I found it ...
Line 48 => 50
Replace
user_silentkill(victim);
set_user_frags(victim,get_user_frags(victim)+ 1);
set_user_deaths(victim,get_user_deaths(victim )-1);
By
user_silentkill(victim);
set_user_frags(victim,get_user_frags(victim)+ 1);
cs_set_user_deaths(victim,cs_get_user_deaths( victim)-1);
and to add at the top an
#include <cstrike>
I think it used the olds AMX functions ;)
But i don't know why the set_user_deaths of the amxmodx.inc doesn't work?!
Now how about porting amx_slap2?
i did what NiLuJe said but now i get a different error:
L 11/10/2004 - 15:16:50: AMX Mod X log file started (file "addons/amxx/logs/L1110001.log") (version "0.16")
L 11/10/2004 - 15:17:10: [AMXX] Function not found (name "set_msg_block") (plugin "AdminSlay2.amx")
L 11/10/2004 - 15:27:46: Log file closed.
Marticus
10-17-2005, 13:28
This plugin is broken with amxmodx 1.6. To fix it, make the following changes:
Add at the top [line 11]:
#include <fun> // This fixes set_user_frags
#include <cstrike> // To support change: cs_set_user_deaths
Change [line 52]:
set_user_deaths(victim,get_user_deaths(victim )-1);
To
cs_set_user_deaths(victim,get_user_deaths(vic tim)-1);
I didn't really look for other problems, this simply fixes the compile errors and silent slay. Someone else who is familiar with amxmodx 1.6 may want to have a look at it.
Marticus
10-17-2005, 17:46
Then again, it still appears to be broken. Holy crap! Fix it...
i whant to add lighting & blood in admincmd.sma ..please help me :(
unforcer
12-07-2009, 12:26
off i can't compile this plugin, it's displaying 2 errors
malec321
12-24-2009, 15:59
Well, if you post the errors maybe I/they can help..
port shoopslay also for admins thats always fun :)
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.