Raised This Month: $ Target: $400
 0% 

Tag mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SaM.ThE.MaN
Senior Member
Join Date: Jan 2010
Old 10-05-2010 , 10:10   Tag mismatch
Reply With Quote #1

Hello,

So i am trying to compile a simple thing ... and i keep getting this error
PHP Code:
WarningTag mismatch on line 24
Warning
Tag mismatch on line 26
Warning
Tag mismatch on line 26 
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#include <engine> 
#include <fakemeta_util>

#define PLUGIN "test"
#define VERSION "1.0"
#define AUTHOR "Sam"

#define PlayerTeam(%1)        g_Team[id] == %1
new Teams:g_Team[33]


public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHamHam_Spawn"player""Fw_PlayerSpawn")
    
    
// Add your code here...
}

public 
Fw_PlayerSpawnid )
{
    
g_Team[id] = cs_get_user_team(id)
    
    if( 
PlayerTeam CS_TEAM_T )  || PlayerTeamCS_TEAM_CT ) )
    {
        if( 
is_user_aliveid ) )
        {
            
fm_strip_user_weaponsid )
            
fm_give_item(id"weapon_knife" );
        }
    }

__________________
  • Project : Level Plugin
o [||||||||||] - 100%
  • Project : OnePieceMod
o [||||||||||] - 20%
SaM.ThE.MaN is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 10-05-2010 , 10:58   Re: Tag mismatch
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#include <engine> 
#include <fakemeta_util>

#define PLUGIN "test"
#define VERSION "1.0"
#define AUTHOR "Sam"

#define PlayerTeam(%1)    (g_Team[id] == %1)
new CsTeamsg_Team[33]


public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHamHam_Spawn"player""Fw_PlayerSpawn")
    
    
// Add your code here...
}

public 
Fw_PlayerSpawnid )
{
    
g_Team[id] = cs_get_user_team(id)
    
    if( 
PlayerTeam(CS_TEAM_T )  || PlayerTeam(CS_TEAM_CT ) )
    {
        if( 
is_user_aliveid ) )
        {
            
fm_strip_user_weaponsid )
            
fm_give_item(id"weapon_knife" );
        }
    }

__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
SaM.ThE.MaN
Senior Member
Join Date: Jan 2010
Old 10-05-2010 , 11:17   Re: Tag mismatch
Reply With Quote #3

THATS ALL!!!!! GRRRR....
__________________
  • Project : Level Plugin
o [||||||||||] - 100%
  • Project : OnePieceMod
o [||||||||||] - 20%
SaM.ThE.MaN 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 10:26.


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