Code:
new g_iMaxPlayers
#define IsPlayer(%0) (1<=%0<=g_iMaxPlayers)
public plugin_init()
{
g_iMaxPlayers = get_maxplayers()
}
public item_touch(iEnt, id)
{
if( IsPlayer(id) && is_user_alive(id) )
{
}
}
I don't think that info_target are touchable, but may be you alter their size.
Also if you alter their classname, then you could consider using register_touch(new_classname, "player", "callback")
__________________