public fwdSpawn( iEntity )
{
if( is_valid_ent( iEntity ) )
{
new szClass[ 33 ];
entity_get_string( iEntity, EV_SZ_classname, szClass, 32 );
for( new i = 0; i < sizeof g_szDefaultEntities; i++ )
{
if( equal( szClass, g_szDefaultEntities[ i ] ) )
{
remove_entity( iEntity );
}
}
new Float:takedamage = pev(Ent, pev_takedamage)
if( get_pcvar_num( g_pRemoveBreakables ) && equal( szClass, g_szBreakable ) && (takedamage != 0.0))
{
if( entity_get_float( iEntity , EV_FL_takedamage ) )
{
remove_entity( iEntity );
}
}
if( get_pcvar_num( g_pRemoveDoors ) )
{
if( equal( szClass, g_szDoor ) || equal( szClass, g_szDoorRotating ) )
{
remove_entity( iEntity );
}
}
}
}
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team
Error: Undefined symbol "Ent" on line 664
Warning: Tag mismatch on line 665
1 Error.
Could not locate output file E:\akcje\colorchat\hidenseek.
amx (compile failed).
@EDIT sorry, ja mam ientity
@EDIT2 Tagsmittach tutaj: if( get_pcvar_num( g_pRemoveBreakables ) && equal( szClass, g_szBreakable ) && takedamage != 0.0)
@EDIT3
L 04/18/2010 - 10:00:20: [FAKEMETA] Invalid entity
L 04/18/2010 - 10:00:20: [AMXX] Run time error 10 (plugin "hidenseek.amxx") (native "pev") - debug not enabled!
L 04/18/2010 - 10:00:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/18/2010 - 10:00:20: [FAKEMETA] Invalid entity
L 04/18/2010 - 10:00:20: [AMXX] Run time error 10 (plugin "hidenseek.amxx") (native "pev") - debug not enabled!
L 04/18/2010 - 10:00:20: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 04/18/2010 - 10:00:20: [FAKEMETA] Invalid entity
L 04/18/2010 - 10:00:20: [AMXX] Run time error 10 (plugin "hidenseek.amxx") (native "pev") - debug not enabled!
Ale mimo błędów działa
@EDIT4 Engine też robi błędy..
Użytkownik kubaku4 edytował ten post 18.04.2010 09:14