Quote:
|
Originally Posted by Front Line
Anyone know how to set it so ppl cannot buy!
i was told by cheapy to look in the engine area but seeming to not
Thanks anyway.
|
search, thats how i fonud my answer too.
anyway, since you were such a bad boy in the forums, i'll give you the script.
Code:
public plugin_precache() {
disable_buyzone()
}
public disable_buyzone() {
new ent = find_ent_by_class(-1,"info_map_parameters");
if(!ent) {
ent = create_entity("info_map_parameters");
}
// disable buying
DispatchKeyValue(ent,"buying","3");
DispatchSpawn(ent);
return PLUGIN_CONTINUE
}
__________________