Raised This Month: $ Target: $400
 0% 

tag problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 12-23-2009 , 15:41   tag problem
Reply With Quote #1

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() 
{
    
register_event("DeathMsg""DeathMsg""a");
}
public 
DeathMsg()
{
    new 
attacker read_data(1);
    new 
bool:headshot read_data)
    
    if(
headshot)
    {
        if(
is_user_alive(attacker))
        {
            new 
old_hp get_user_health(attacker)
            
set_user_health(attackerold_hp 50)
            
give_itemattacker"weapon_hegrenade" );
        }
    }
    else
    {
        if(
is_user_alive(attacker))
        {
            new 
old_hp get_user_health(attacker)
            
set_user_health(attackerold_hp 10)
        }
    }

PHP Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c1997-2006 ITB CompuPhaseAMX Mod X Team

Warning
Tag mismatch on line 21
Header size
:            272 bytes
Code size
:              604 bytes
Data size
:              152 bytes
Stack
/heap size:      16384 bytesestimated maxusage=778 cells (3112 bytes)
Total requirements:   17412 bytes

1 Warning
.
Done
WTF?
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 


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


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