Code:
public plugin_precache()
{
new gBuy = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "func_buyzone"))
if (gBuy)
{
set_pev(gBuy, pev_team, 1)
dllfunc(DLLFunc_Spawn, gBuy)
engfunc(EngFunc_SetOrigin, gBuy, Float:{1420.0, 705.0, 16.0})
engfunc(EngFunc_SetSize, gBuy, Float:{-128.0, -128.0, -64.0}, Float:{128.0, 128.0, 64.0})
}
}
Creates a buyzone at the ramp (de_dust2) overlooking bombsite A
__________________