Raised This Month: $ Target: $400
 0% 

Compilation Error 213 : Tag Mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Zombie Lurker
Senior Member
Join Date: Mar 2009
Old 03-14-2009 , 00:37   Compilation Error 213 : Tag Mismatch
Reply With Quote #1

Hello everyone. I need some help with my script because I keep getting an error (title).
So here's the script contents :

Quote:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>
#include <fakemeta>
#include <fun>
#include <zombieplague>
// MysticDeath Atributes
new const zclass_name[] = { "MysticDeath" } // name
new const zclass_info[] = { "HP+++ Speed+ Jump+ Knockback--- Leech+++" } // description
new const zclass_model[] = { "mysticdeath_zombie" } // model
new const zclass_clawmodel[] = { "v_knife_zombie.mdl" } // claw model
const zclass_health = 9000 // health
const zclass_speed = 230 // speed
const Float:zclass_gravity = 0.85 // gravity
const Float:zclass_knockback = 0 // knockback
const zclass_infecthp = 2500 // extra hp for infections
// Class IDs
new g_mysticdeath
// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
// Register the new class and store ID for reference
g_mysticdeath = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
}
// User Infected forward
public zp_user_infected_post(id, infector)
{
// If attacker is a mysticdeath, gets extra hp
if (zp_get_user_zombie_class(infector) == g_mysticdeath)
set_pev(infector, pev_health, float(pev(infector, pev_health) + zclass_infecthp))
}
Here is the error (sorry couldnt put up a picture, my internet too slow) :
Quote:
//// zp_class_mysticdeath.sma
// C:\Program Files\Valve\cstrike\addons\amxmodx\scripting\ zp_class_mysticdeath.sma : warning 213: tag mismatch
//Header size: 384 bytes
//Code size: 340 bytes
//Data size: 368 bytes
Stack/heal size: 16384 bytes; estimated max. usage=780 cells <3120 bytes>
//Total requirements: 17476 bytes
//
//1 Warning.
//Done.
//
// Compilation Time: 0.45 sec
// --------------------------------------
Please help me by posting a reply.
__________________
Zombie Lurker is offline
 



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 09:00.


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