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

Block End Round wthout bot


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 11-08-2008 , 20:37   Block End Round wthout bot
Reply With Quote #1

It posible to block round end without a bot. I need this for a kz server.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
merong
Member
Join Date: Feb 2008
Old 11-08-2008 , 20:55   Re: Block End Round wthout bot
Reply With Quote #2

if you delete object, the round time is infinity

but, Does kz maps have object ?
merong is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-08-2008 , 21:02   Re: Block End Round wthout bot
Reply With Quote #3

http://forums.alliedmods.net/showthr...ght=objectives
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 11-08-2008 , 22:30   Re: Block End Round wthout bot
Reply With Quote #4

example: is only one person and he die they do a new round.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 11-09-2008 , 04:23   Re: Block End Round wthout bot
Reply With Quote #5

then
fm_set_user_health(those_noob_who_were_killed , 9999999);
__________________
xPaw is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 11-09-2008 , 05:49   Re: Block End Round wthout bot
Reply With Quote #6

Quote:
Originally Posted by xPaw View Post
then
fm_set_user_health(those_noob_who_were_killed , 9999999);
Better way, hook the user death with HamSandwich. Whenever this happens, respawn the other players manually, and set the dying player health to a positive value then supercede the death event.
__________________

Community / No support through PM
danielkza is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-09-2008 , 08:00   Re: Block End Round wthout bot
Reply With Quote #7

This is what i'm using on my kz server :

PHP Code:
public Ham_Killed_player(ididattackershouldgib)
{
    if( 
fm_cs_get_user_team(id) != TEAM_CT )
    {
        return 
HAM_IGNORED
    
}
    
ExecuteHamB(Ham_Spawnid)
    return 
HAM_SUPERCEDE

Note that you should use this with another plugin that allow players to go spectator ;)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 11-09-2008 , 09:08   Re: Block End Round wthout bot
Reply With Quote #8

Quote:
Originally Posted by connorr View Post
This is what i'm using on my kz server :

PHP Code:
public Ham_Killed_player(ididattackershouldgib)
{
    if( 
fm_cs_get_user_team(id) != TEAM_CT )
    {
        return 
HAM_IGNORED
    
}
    
ExecuteHamB(Ham_Spawnid)
    return 
HAM_SUPERCEDE

Note that you should use this with another plugin that allow players to go spectator ;)
I don't think you need to spawn the player again if you hook the even pre instead of post. Try doing it and just setting the player health to a positive value.
__________________

Community / No support through PM
danielkza is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-09-2008 , 11:10   Re: Block End Round wthout bot
Reply With Quote #9

I hook it pre, but i want that if a player dies, he can't continue to climb, so i spawn him.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 10:45.


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