Raised This Month: $51 Target: $400
 12% 

remove_entity


Post New Thread Reply   
 
Thread Tools Display Modes
Dr.G
Senior Member
Join Date: Nov 2008
Old 04-04-2010 , 08:19   Re: remove_entity
Reply With Quote #11

PHP Code:
    new ent = -1
    
while (( find_ent_by_modelent"func_button""*59" ))) 
    {
        
remove_entity(ent)
    } 
__________________
Dr.G is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-04-2010 , 08:32   Re: remove_entity
Reply With Quote #12

*59 is unique, that's not possible it exists more than one *59.
__________________
Arkshine is offline
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 04-04-2010 , 08:38   Re: remove_entity
Reply With Quote #13

I placed that in Deathrun Maps Fixer by xPaw and he was removing entities the same way and it worked I think... Now the buttons works perfect and it shouldn't.
FiFiX is offline
Send a message via Skype™ to FiFiX
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-04-2010 , 09:02   Re: remove_entity
Reply With Quote #14

*59 works only in 1 map, if you try in another map, it can't work.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 04-04-2010 , 09:25   Re: remove_entity
Reply With Quote #15

Yes I know, but in xPaw's plugins it is the same code for othe buttons on other maps and it works. On deathrun_projetocs it doesn't work(the code) and I have no idea how to remove one bugged trap :S
FiFiX is offline
Send a message via Skype™ to FiFiX
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 04-08-2010 , 16:31   Re: remove_entity
Reply With Quote #16

Sloved, *59 is ENT_ID and const Model is *37 ;]

PS. I'm dumb
FiFiX is offline
Send a message via Skype™ to FiFiX
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode