View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-19-2012 , 10:04   Re: Stack error problem
Reply With Quote #2

Declare this plugin in configs/maps/plugins-apw_bycastor.ini :

PHP Code:
#include <amxmodx>
#include <fakemeta>

#define VERSION "0.0.1"
#define PLUGIN "awp_bycastor"

public plugin_init()
{
    
register_plugin(PLUGINVERSION"ConnorMcLeod")

    new 
entm_iItem 34XO_ARMOURY 4CSA_AWP 10
    
while( ( ent engfunc(EngFunc_FindEntityByStringent"classname""armoury_entity") ) )
    {
        if( 
get_pdata_int(entm_iItemXO_ARMOURY)!= CSA_AWP )
        {
            
engfunc(EngFunc_RemoveEntityent)
        }
    }

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 02-19-2012 at 10:05.
ConnorMcLeod is offline