Raised This Month: $ Target: $400
 0% 

Fake Death Messages V1.0.1


Post New Thread Reply   
 
Thread Tools Display Modes
z0nax
Member
Join Date: Mar 2006
Location: Denmark | In my dark roo
Old 03-08-2006 , 05:22  
Reply With Quote #21

I will try that!
__________________
- ZoNaX^
http://forums.alliedmods.net/faq.php...b_board_search
Offering free help to install:
AMXx, Plugins, Adding Admins.
The most general things to know.
PM me.
z0nax is offline
Send a message via MSN to z0nax
z0nax
Member
Join Date: Mar 2006
Location: Denmark | In my dark roo
Old 03-08-2006 , 05:24  
Reply With Quote #22

Quote:
Originally Posted by AssKicR
just change "state" to like "x_state"

Newer amx version has made "state" a reserved word
But where shall
Code:
message_begin(MSG_ALL <<<
__________________
- ZoNaX^
http://forums.alliedmods.net/faq.php...b_board_search
Offering free help to install:
AMXx, Plugins, Adding Admins.
The most general things to know.
PM me.
z0nax is offline
Send a message via MSN to z0nax
Kryptic
Member
Join Date: Jun 2006
Location: Vermont
Old 07-11-2006 , 15:10   Re: Fake Death Messages V1.0.1
Reply With Quote #23

I got this when I tried to download... If me bringing back old topics bothers anyone, I'll stop...

Plugin failed to compile! Please try contacting the author.
Welcome to the AMX Mod X 1.75-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/alliedmodders/forums/files/2/6/1/189.attach(49) : error 088: number of arguments does not match definition
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(57) : error 088: number of arguments does not match definition
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(63) : error 010: invalid function or declaration
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(66) : error 029: invalid expression, assumed zero

4 Errors.
Could not locate output file /home/groups/amxmodx/public_html/compiled3/189.amx (compile failed).
Kryptic is offline
Send a message via ICQ to Kryptic Send a message via AIM to Kryptic
Blitz
Senior Member
Join Date: Jul 2005
Location: Google
Old 07-18-2006 , 16:45   Re: Fake Death Messages V1.0.1
Reply With Quote #24

Quote:
Originally Posted by Kryptic
I got this when I tried to download... If me bringing back old topics bothers anyone, I'll stop...

Plugin failed to compile! Please try contacting the author.
Welcome to the AMX Mod X 1.75-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/alliedmodders/forums/files/2/6/1/189.attach(49) : error 088: number of arguments does not match definition
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(57) : error 088: number of arguments does not match definition
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(63) : error 010: invalid function or declaration
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(66) : error 029: invalid expression, assumed zero

4 Errors.
Could not locate output file /home/groups/amxmodx/public_html/compiled3/189.amx (compile failed).
Always look through the thread to see if your error has been fixed.
This thread has only 3 pages to look at.
Just go back a page and the fix is there.

*EDIT*
Actually it says 2 pages for me.
__________________
[img]http://img268.**************/img268/7071/blitz4ek.jpg[/img]

In the beginning, God created the search button.

Last edited by Blitz; 07-18-2006 at 16:48.
Blitz is offline
Teh_Guy
Member
Join Date: Jun 2006
Old 08-09-2006 , 22:15   Re: Fake Death Messages V1.0.1
Reply With Quote #25

You gotta fix the online compiler i get this message when i use it: Plugin failed to compile! Please try contacting the author.Welcome to the AMX Mod X 1.75-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/alliedmodders/forums/files/2/6/1/189.attach(49) : error 088: number of arguments does not match definition
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(57) : error 088: number of arguments does not match definition
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(63) : error 010: invalid function or declaration
/home/groups/alliedmodders/forums/files/2/6/1/189.attach(66) : error 029: invalid expression, assumed zero

4 Errors.
Could not locate output file /home/groups/amxmodx/public_html/compiled3/189.amx (compile failed).
Teh_Guy is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 08-11-2006 , 14:23   Re: Fake Death Messages V1.0.1
Reply With Quote #26

dude the arthur broke the script! not complier problem
kp_uparrow is offline
newbie1233
BANNED
Join Date: Jul 2006
Old 09-07-2006 , 06:14   Re: Fake Death Messages V1.0.1
Reply With Quote #27

Fixed


Code:
/* AMX fakedeath. 
* 
* (c) Copyright 2002-2003, AssKicR 
* This file is provided as is (no warranties). 
*/  

#include <amxmodx> 
#include <amxmisc> 

/* 
* Usage: amx_fakedeath <nick> <nick> <weapon> <hs>
* Examples: 
* amx_fakedeath AssKicR Lamer m4a1       - makes fakemessage: AssKicR killed Lamer With M4A1
* amx_fakedeath AssKicR haXXor m4a1 HS   - makes fakemessage: AssKicR killed haXXor with headshot from M4A1
* amx_fakedeath AssKicR l33t flashbang   - makes fakemessage: AssKicR killed l33t With flashbang
* amx_fakedeath AssKicR AssKicR grenade  - makes fakemessage: AssKicR killed self with grenade
*
* Changelog
* Fixed Bug about showing as dead when fakekilled
*
*/ 

new gmsgScoreAttrib

public admin_fd(id,level,cid) { 
    if (!cmd_access(id,level,cid,3)) 
    return PLUGIN_HANDLED 
    new arg[32], arg2[32], arg3[32], arg4[8]
    read_argv(1,arg,31)
    read_argv(2,arg2,31)
    read_argv(3,arg3,31)
    read_argv(4,arg4,7)
    new player = cmd_target(id,arg,7)
    new player2 = cmd_target(id,arg2,7)
    new weapon = read_argv(3,arg3,7)
    if (!player) return PLUGIN_HANDLED
    if (!player2) return PLUGIN_HANDLED
    new name[32]
    new name2[32]
    
    get_user_name(player,name,31)
    get_user_name(player2,name2,31)
    if ( (arg4[0]=='h') && (arg4[1]=='s') ) {
        message_begin( MSG_ALL, get_user_msgid("DeathMsg"),{0,0,0},0)
        write_byte(player)
        write_byte(player2)
        write_string(arg3)
        message_end()
        scoreboard(player2,0)
    }else{
        message_begin( MSG_ALL, get_user_msgid("DeathMsg"),{0,0,0},0)
        write_byte(player)
        write_byte(player2)
        write_byte(0)
        write_string(arg3)
        message_end()
        scoreboard(player2,0)
    }
        console_print(id,"Client ^"%s^" has killed ^"%s^" with ^"%s^"",player,player2,weapon) 
    return PLUGIN_CONTINUE
} 

public scoreboard(id,x_state){   // 0 - nothing, 1 - dead, 2 - bomb 
   message_begin(MSG_ALL, gmsgScoreAttrib,{0,0,0},0) 
   write_byte(id) 
   write_byte(x_state) 
   message_end() 
   return PLUGIN_HANDLED 
} 


public plugin_init() {  
    register_plugin("Fake DeathMsg","1.0.1","AssKicR")  
    gmsgScoreAttrib = get_user_msgid("ScoreAttrib")
    register_concmd("amx_fakedeath","admin_fd",ADMIN_KICK,"<nick>, <nick>, <weapon>, <hs?>")  
    register_concmd("amx_fakedeath","admin_fd",ADMIN_KICK,"<@ALL>, <nick>, <weapon>, <hs?>")  
    return PLUGIN_CONTINUE  
}
Attached Files
File Type: sma Get Plugin or Get Source (fake_deathmsg.sma - 1320 views - 2.3 KB)

Last edited by newbie1233; 09-07-2006 at 06:34.
newbie1233 is offline
Morpheus759
BANNED
Join Date: Feb 2007
Location: Poland
Old 02-11-2007 , 07:01   Re: Fake Death Messages V1.0.1
Reply With Quote #28

Plugin failed to compile! Please try contacting the author.
Welcome to the AMX Mod X 1.76-300 Compiler.Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team/home/groups/alliedmodders/forums/files/2/6/1/189.attach(49) : error 088: number of arguments does not match definition/home/groups/alliedmodders/forums/files/2/6/1/189.attach(57) : error 088: number of arguments does not match definition/home/groups/alliedmodders/forums/files/2/6/1/189.attach(63) : error 010: invalid function or declaration/home/groups/alliedmodders/forums/files/2/6/1/189.attach(66) : error 029: invalid expression, assumed zero4 Errors.Could not locate output file /home/groups/amxmodx/public_html/compiled3/189.amx (compile failed).
Morpheus759 is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 02-13-2007 , 10:04   Re: Fake Death Messages V1.0.1
Reply With Quote #29

Very small update:
  • no headshot param for non-CS mods; thus no crash available
  • <hs> param is now case insensitive
Attached Files
File Type: sma Get Plugin or Get Source (fake_deathmsg.sma - 1385 views - 3.0 KB)
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
rAnDy OrToN
Junior Member
Join Date: Sep 2007
Old 01-24-2008 , 16:25   Re: Fake Death Messages V1.0.1
Reply With Quote #30

it shows 2 messages...
rAnDy OrToN 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 19:11.


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