I assume you are talking about the M4A1s up at those two platforms behind the spawn points where you kinda hide & scope at. If this is wrong then you need to be more clear about it.
Here's a quick fix for those two locations. Tested on listen server.
EDIT 2: Here's a revision of the plugin. This will fix all the weapons; matching the original map.
Code:
#include <amxmodx>
#include <engine>
#define ITEM_AWP "10"
#define ITEM_SCOUT "8"
public plugin_init() {
register_plugin("fy_snow_itemswitch","0.2","amxx_community")
new szMapName[9]
get_mapname(szMapName,8)
if(equali(szMapName,"fy_snow")) {
change_item_by_origin(ITEM_AWP,Float:{576.0,1104.0,-220.0})
change_item_by_origin(ITEM_AWP,Float:{576.0,-720.0,-220.0})
change_item_by_origin(ITEM_SCOUT,Float:{368.0,800.0,-284.0})
change_item_by_origin(ITEM_SCOUT,Float:{976.0,800.0,-284.0})
change_item_by_origin(ITEM_SCOUT,Float:{912.0,-288.0,-284.0})
change_item_by_origin(ITEM_SCOUT,Float:{304.0,-288.0,-284.0})
}
}
public change_item_by_origin(szItem[],Float:fOrigin[3]) {
new iEntity=find_ent_in_sphere(-1,fOrigin,1.0)
if(is_valid_ent(iEntity)) {
DispatchKeyValue(iEntity,"item",szItem)
DispatchSpawn(iEntity)
}
}
EDIT 1: here's a link to the bsp version that contains awps & scouts;
https://www.mediafire.com/file/adm4f..._snow.bsp/file
__________________