View Single Post
Author Message
r5053
SourceMod Donor
Join Date: May 2007
Location: Germany
Old 01-25-2009 , 17:02   Left 4 Dead Build Enabler (should work in every Source Game)
Reply With Quote #1

This Plugin removes the Cheatflag from the following commands:

ent_remove
prop_dynamic_create
prop_physics_create
ent_rotate
give


a example what you can do with this commands:

>>Screenshot<<

I've made the cage on the picture with the following commands:

prop_dynamic_create props_street\police_barricade.mdl (creates the barricade)

ent_rotate 90 (rotates the baricate 90°)

ent_remove (removes the entity you're aiming)


I've rewritten the ent_remove command, now it's protected from removing other players.

Changelog:
v.1.0.0
-inital release
v.1.1.0
+added the cvar sm_buildenabler_onlyadmin (default 1)
so default only admins with the flag "cheats" are allowed to build, rotate and remove objects
v.1.2.0
+added blocking removing the checkpoint door (tested only with the first map of no mercy)

v.1.3.0
+ added give command

P.S: >>SteamForum Thread about spawning objects<<< With this plugin SV_Cheats 1 is not required
P.S.2: I created a Communitygroup http://steamcommunity.com/groups/L4DBuildEnabler/
Attached Files
File Type: sp Get Plugin or Get Source (l4d-buildenabler.sp - 7122 views - 3.5 KB)
__________________
Visit HLPortal.de (this is not my Page)



Last edited by r5053; 05-21-2009 at 12:02.
r5053 is offline
Send a message via ICQ to r5053 Send a message via Skype™ to r5053