Do this in plugin_precache and the it's fine :
PHP Code:
public plugin_precache()
{
new iEnt = create_entity("info_map_parameters")
DispatchKeyValue(iEnt, "buying", "3")
DispatchSpawn(iEnt)
}
Code:
@PointClass iconsprite("sprites/CS/MapParams.spr") = info_map_parameters : "Miscellaneous mapping parameters"
[
buying(choices) : "Weapon_Buying" : "" =
[
"": "Both teams can buy guns"
1: "Only CT's can buy guns"
2: "Only T's can buy guns"
3: "Neither CT's nor T's can buy guns"
]
bombradius(integer) : "Bomb Radius" : 500
]
__________________