Raised This Month: $ Target: $400
 0% 

Help me use oprheu to block defusal of bomb


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 08-16-2014 , 06:35   Help me use oprheu to block defusal of bomb
Reply With Quote #1

So I run a furien server. I made multiple c4s available to be bought and I'm stuck now because if they're 2 bombs planted, if any of them gets defused the round ends.

PHP Code:
public bomb_defused(id)
{
    
g_plantedbombs--
    if(
g_plantedbombs>0)
        return 
PLUGIN_HANDLED
        
    
return PLUGIN_CONTINUE

obviously doesn't work, but I need a simple crude solution to block round end on bomb defusal.
I've first tried looking at infinite round, but couldn't understand anything. The plugin is so complex and even tho I could use it by setting it to only block def, I still need the bomb to be defused, but only when it's the last one planted.

I've also found a non orpheu way also made by connor but he mentioned it being unefficient so much I'm not scared to use it(grenade think)

I can't understand anything from oprheu so if someone could be kind enough to write a snippet for me to block it, it would be great. Thanks a lot.
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
 


Thread Tools
Display Modes

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 12:53.


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