Raised This Month: $ Target: $400
 0% 

Admin Slay 2X (F117bomb)


Post New Thread Reply   
 
Thread Tools Display Modes
BAILOPAN
Join Date: Jan 2004
Old 03-22-2004 , 20:49  
Reply With Quote #11

sniperbeamer wants it so we can eventually phase out use of amxmod.inc I think
__________________
egg
BAILOPAN is offline
IceMouse[WrG]
Senior Member
Join Date: Mar 2004
Old 03-22-2004 , 21:29  
Reply With Quote #12

If I must...
EDIT: Done... You should include engine in amxmodx
IceMouse[WrG] is offline
Send a message via AIM to IceMouse[WrG] Send a message via MSN to IceMouse[WrG] Send a message via Yahoo to IceMouse[WrG]
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 03-23-2004 , 04:44  
Reply With Quote #13

no module include files will be added to amxmodx.inc
__________________
SniperBeamer is offline
NiLuJe
Veteran Member
Join Date: Mar 2004
Location: Paris, France
Old 03-26-2004 , 15:51  
Reply With Quote #14

Hu

Code:
L 03/26/2004 - 22:32:35: [AMXX] Function not found (name "set_user_deaths") (plugin "admin_slay_2.amx")
and

Code:
unknown            unknown  unknown           admin_slay_2.am  bad load
??!


EDIT: Think I found it ...

Line 48 => 50
Replace
Code:
        user_silentkill(victim);         set_user_frags(victim,get_user_frags(victim)+1);         set_user_deaths(victim,get_user_deaths(victim)-1);

By

Code:
        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
Code:
#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?!
NiLuJe is offline
Send a message via MSN to NiLuJe
Nick
Senior Member
Join Date: Apr 2004
Location: Canada, Alberta, Cal
Old 05-12-2004 , 03:00  
Reply With Quote #15

Now how about porting amx_slap2?
__________________
Nick is offline
Send a message via MSN to Nick
Old 05-25-2004, 17:33
Fisch.666
This message has been deleted by Fisch.666.
Old 10-15-2004, 18:54
Fisch.666
This message has been deleted by Fisch.666.
qwerty
New Member
Join Date: Nov 2004
Old 11-10-2004 , 18:31  
Reply With Quote #16

i did what NiLuJe said but now i get a different error:
Code:
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.
qwerty is offline
Marticus
Member
Join Date: Nov 2004
Old 10-17-2005 , 13:28  
Reply With Quote #17

This plugin is broken with amxmodx 1.6. To fix it, make the following changes:

Add at the top [line 11]:
Code:
#include <fun> // This fixes set_user_frags
#include <cstrike> // To support change: cs_set_user_deaths
Change [line 52]:
Code:
set_user_deaths(victim,get_user_deaths(victim)-1);
To
Code:
cs_set_user_deaths(victim,get_user_deaths(victim)-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 is offline
Marticus
Member
Join Date: Nov 2004
Old 10-17-2005 , 17:46  
Reply With Quote #18

Then again, it still appears to be broken. Holy crap! Fix it...
Marticus is offline
shulttz
Junior Member
Join Date: Jan 2008
Old 05-07-2008 , 19:27   Re: Admin Slay 2X (F117bomb)
Reply With Quote #19

i whant to add lighting & blood in admincmd.sma ..please help me
shulttz is offline
unforcer
Senior Member
Join Date: Feb 2009
Old 12-07-2009 , 12:26   Re: Admin Slay 2X (F117bomb)
Reply With Quote #20

off i can't compile this plugin, it's displaying 2 errors
unforcer is offline
Reply



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 05:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode