View Single Post
Fleepster99
Senior Member
Join Date: Apr 2010
Old 07-18-2010 , 15:01   Re: Opening doors automatically L4D2
Reply With Quote #4

Well i found some code for a similar task
Quote:
new ent20 = -1;
new prev20 = 0;
while ((ent20 = FindEntityByClassname(ent20, "weapon_autoshotgun")) != -1)
Obviously this is to remove the shotgun i tried replacing "weapon_autoshotgun" with prop_rotating_door and it didnt work im not sure that is the right entity name but i cant seem to find anything else in the entity list.
Fleepster99 is offline