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

Hostage Maps


Post New Thread Reply   
 
Thread Tools Display Modes
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 10-07-2017 , 05:53   Re: Hostage Maps
Reply With Quote #11

Quote:
Originally Posted by D3XT3R View Post
I dont need i said
i want only in italy map when hostages not rescured the ct win not the terrorist only!!!!!! This my request!
this is what you need ? https://forums.alliedmods.net/showthread.php?p=344114
__________________

Last edited by Ayman Khaled; 10-07-2017 at 05:58.
Ayman Khaled is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-07-2017 , 06:56   Re: Hostage Maps
Reply With Quote #12

Quote:
Originally Posted by D3XT3R View Post
I dont need i said
i want only in italy map when hostages not rescured the ct win not the terrorist only!!!!!! This my request!
Stop being so demanding and learn to read!!!!!!

You need to do what this 2 plugins are doing, hook CheckWinConditions, block the original call and make a new one to change who wins.
But I really doubt you are able to use orpheu and make signatures, so better use Arkshine's plugins as it was suggested.
That's the solution, up to you if you ignore our answers or no.
__________________

Last edited by HamletEagle; 10-07-2017 at 06:56.
HamletEagle is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 10-09-2017 , 11:49   Re: Hostage Maps
Reply With Quote #13

Quote:
Originally Posted by HamletEagle View Post
Stop being so demanding and learn to read!!!!!!

You need to do what this 2 plugins are doing, hook CheckWinConditions, block the original call and make a new one to change who wins.
But I really doubt you are able to use orpheu and make signatures, so better use Arkshine's plugins as it was suggested.
That's the solution, up to you if you ignore our answers or no.
rehlds + orpheu = never work
but thanx Sir! for answer any way

Quote:
Originally Posted by Ayman Khaled View Post
HOW U FIND IT! THIS MY REQUEST IT NEED JUST SOME EDITS! THANX MAN!
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 10-09-2017 , 11:59   Re: Hostage Maps
Reply With Quote #14

I`m pretty sure some of orpheu functions still work in ReHlds.
also you should have mentioned that you`re using rehlds in the first place, because it has some neat functions in it. In particular i`m speaking of this: https://reapi.neugomon.ru/reapi_gamedll/rg_round_end
__________________
retired chump

Last edited by DjSoftero; 10-09-2017 at 12:03.
DjSoftero is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 10-09-2017 , 12:27   Re: Hostage Maps
Reply With Quote #15

Quote:
Originally Posted by DjSoftero View Post
I`m pretty sure some of orpheu functions still work in ReHlds.
also you should have mentioned that you`re using rehlds in the first place, because it has some neat functions in it. In particular i`m speaking of this: https://reapi.neugomon.ru/reapi_gamedll/rg_round_end
sorry but will be better if you maked for me a plugin work only in hostage maps cs_
make CT win when hostage not rescured and thanx any way for ur help
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 10-09-2017 , 17:31   Re: Hostage Maps
Reply With Quote #16

make me right if im wroung i wait for ur answer mate,
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <reapi>


#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "DeXTeR"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("round_end"2"1=Round_End")
    
    new 
iMap_Name[32];
    
get_mapname(iMap_Namecharsmax(iMap_Name));

    if(
containi(iMap_Name"cs_") != -|| rg_find_ent_by_class(0"func_hostage_rescue"true))
        
pause("d");
}

public 
round_end()
{
    switch(
random_num(1,2))
    {
        case 
1rg_round_end(0.1WINSTATUS_CTSROUND_BOMB_DEFUSED);
        case 
2rg_round_end(0.1WINSTATUS_CTSROUND_BOMB_DEFUSED);
    }
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/ 
__________________

Last edited by D3XT3R; 10-09-2017 at 17:33.
D3XT3R is offline
Send a message via Skype™ to D3XT3R
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 10-09-2017 , 18:44   Re: Hostage Maps
Reply With Quote #17

PHP Code:
#include <amxmodx>
#include <reapi>

public plugin_init()
{
    
RegisterHookChain(RG_RoundEnd"RoundEnd")
}

public 
RoundEnd(WinStatus:statusScenarioEventEndRound:eventFloat:tmDelay)
{
    if (
event == ROUND_HOSTAGE_NOT_RESCUED)
    {
        
rg_update_teamscores(.iCtsWins 1)
        
rg_round_end(tmDelayWINSTATUS_CTSROUND_CTS_WIN)
        
SetHookChainReturn(ATYPE_INTEGERfalse)
        return 
HC_SUPERCEDE
    
}
    
    return 
HC_CONTINUE

thanks to slLent
__________________

Last edited by WaLkMaN; 10-09-2017 at 18:48.
WaLkMaN is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 10-10-2017 , 02:18   Re: Hostage Maps
Reply With Quote #18

Quote:
Originally Posted by WaLkMaN View Post
PHP Code:
#include <amxmodx>
#include <reapi>

public plugin_init()
{
    
RegisterHookChain(RG_RoundEnd"RoundEnd")
}

public 
RoundEnd(WinStatus:statusScenarioEventEndRound:eventFloat:tmDelay)
{
    if (
event == ROUND_HOSTAGE_NOT_RESCUED)
    {
        
rg_update_teamscores(.iCtsWins 1)
        
rg_round_end(tmDelayWINSTATUS_CTSROUND_CTS_WIN)
        
SetHookChainReturn(ATYPE_INTEGERfalse)
        return 
HC_SUPERCEDE
    
}
    
    return 
HC_CONTINUE

thanks to slLent
ty
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 10-10-2017 , 07:23   Re: Hostage Maps
Reply With Quote #19

17 Warning o_O
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 10-10-2017 , 09:09   Re: Hostage Maps
Reply With Quote #20

Quote:
Originally Posted by D3XT3R View Post
17 Warning o_O
with me not.
__________________

Last edited by Ayman Khaled; 10-10-2017 at 09:11.
Ayman Khaled 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 20:55.


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