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

[10/02/10] No Hostage Steal


Post New Thread Reply   
 
Thread Tools Display Modes
fR4gn0tiX!
Senior Member
Join Date: Nov 2009
Location: Georgia, Tbilisi
Old 02-19-2010 , 16:17   Re: [10/02/10] No Hostage Steal
Reply With Quote #21

Updated v1.3
Attached Files
File Type: sma Get Plugin or Get Source (nohoststeal.sma - 575 views - 1.5 KB)
File Type: txt no_hostage_steal.txt (670 Bytes, 117 views)
__________________

Last edited by fR4gn0tiX!; 02-19-2010 at 16:20.
fR4gn0tiX! is offline
Send a message via Skype™ to fR4gn0tiX!
adoshka
New Member
Join Date: Jan 2010
Old 03-05-2010 , 01:54   Re: [10/02/10] No Hostage Steal
Reply With Quote #22

how can i make this on my server? banner in nick
adoshka is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-05-2010 , 06:15   Re: [10/02/10] No Hostage Steal
Reply With Quote #23

How is related to the plugin ?
__________________
Arkshine is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 04-03-2010 , 07:51   Re: [10/02/10] No Hostage Steal
Reply With Quote #24

Quote:
Originally Posted by adoshka View Post
how can i make this on my server? banner in nick
Wrong section, go to offtopic. Anyway this hasnt anything todo with serversided. I guess its because your not using steam.
__________________
I am out of order!
grimvh2 is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 04-03-2010 , 08:32   Re: [10/02/10] No Hostage Steal
Reply With Quote #25

hi grimvh2,
is this plugin only for cs1.6 or cs:cz compatible?
__________________

Working on:
nothing
schmurgel1983 is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 04-03-2010 , 09:06   Re: [10/02/10] No Hostage Steal
Reply With Quote #26

I actually don't know, I never code for czero. It might be because of the cstrike module it won't work. But you can try.
__________________
I am out of order!
grimvh2 is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 04-03-2010 , 09:27   Re: [10/02/10] No Hostage Steal
Reply With Quote #27

Quote:
Originally Posted by grimvh2 View Post
I actually don't know, I never code for czero. It might be because of the cstrike module it won't work. But you can try.
Actually, a friend once told me the cstrike module works fine on CZero, and the only thing that could cause a plugin to not work is the models, I believe (not sure if it's that or something else, but nothing to do with modules). Any module that works on CS should work fine on CZ.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 04-03-2010 , 09:51   Re: [10/02/10] No Hostage Steal
Reply With Quote #28

Quote:
Originally Posted by wrecked_ View Post
Actually, a friend once told me the cstrike module works fine on CZero, and the only thing that could cause a plugin to not work is the models, I believe (not sure if it's that or something else, but nothing to do with modules). Any module that works on CS should work fine on CZ.
Ok, ty, so now you know the awnser.
__________________
I am out of order!
grimvh2 is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 04-03-2010 , 15:13   Re: [10/02/10] No Hostage Steal
Reply With Quote #29

hmmm^^
Code:
cstrike.inc

/* Returns index of entity (does not have to be a player) which hostage is following. 0 is hostage doesn't follow anything.
 * Note: this native does not work on Condition Zero, which has a different hostage AI than CS.
 */
native cs_get_hostage_foll(index);
so, can u make your plugin cz compatible?
that would be really nice.
__________________

Working on:
nothing
schmurgel1983 is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 04-04-2010 , 10:56   Re: [10/02/10] No Hostage Steal
Reply With Quote #30

I also want this for cz

Though using this atm

Code:
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>

#define PLUGIN "Don't Steal My Fucking Hostages"
#define AUTHOR "ConnorMcLeod"
#define VERSION "0.0.1"

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    RegisterHam( Ham_Use, "hostage_entity" , "Hostage_Use")
}

public Hostage_Use(iHostage, id)
{
    new iFollow = cs_get_hostage_foll(iHostage)
    if( iFollow && iFollow != id )
    {
        return HAM_SUPERCEDE
    }
    return HAM_IGNORED
}

Last edited by `666; 04-04-2010 at 10:58.
`666 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 09:20.


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