Raised This Month: $ Target: $400
 0% 

Suggestion for bomb defusing


Post New Thread Reply   
 
Thread Tools Display Modes
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 08-15-2007 , 13:20   Re: Suggestion for bomb defusing
Reply With Quote #21

no. you cant compare event scripts to sourcemod . its apples and ornges . they have functions we dont , were still in beta , so nothing is the same . i would have taken this plugin on but i thought pred had it under control .
Peoples Army is offline
Tekniqal
Senior Member
Join Date: Aug 2006
Old 08-15-2007 , 13:28   Re: Suggestion for bomb defusing
Reply With Quote #22

Quote:
ok i didn't bother with the menu part but this will do an instant defuse when they pick the right wire to cut.
Code:
Code:
es_xsetinfo tempindex 0 
   es_xgetentityindex tempindex planted_c4 
   es_setindexprop server_var(tempindex) "CPlantedC4.m_flDefuseCountDown" 1.0
To make the bomb blow instantly replace the last line with this instead
Code:
Code:
es_setindexprop server_var(tempindex) "CPlantedC4.m_flC4Blow" 1.0
__________________
Tekniqal is offline
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 08-15-2007 , 13:34   Re: Suggestion for bomb defusing
Reply With Quote #23

well if that was right then his plugin would work .

i can take a guess at why this plugin doesnt work and gives error . get net class error was becuase of the wrong entity type , and find ent by classname returns -1 . to see if you have the right entity index , add this in your function

Code:
 
PrintToChat(client,"c4 entity index is %i",C4);
if the enity index prints out -1 , then you have the wrong classname for c4 .

Last edited by Peoples Army; 08-15-2007 at 13:41.
Peoples Army is offline
pRED*
Join Date: Dec 2006
Old 08-15-2007 , 19:32   Re: Suggestion for bomb defusing
Reply With Quote #24

Yeah im pretty sure my bomb instant defuse/explosion functions are right. It's just not finding the c4 entity. I'll play with it today
pRED* is offline
Tekniqal
Senior Member
Join Date: Aug 2006
Old 08-19-2007 , 05:49   Re: Suggestion for bomb defusing
Reply With Quote #25

Quote:
Originally Posted by pRED* | NZ View Post
Yeah im pretty sure my bomb instant defuse/explosion functions are right. It's just not finding the c4 entity. I'll play with it today
Get a chance to play with it? I think people will really like this plugin if you get it out the door.
__________________
Tekniqal is offline
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 05:43.


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