Raised This Month: $ Target: $400
 0% 

problem with team deathmatch mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazyChickenTest
Member
Join Date: Jul 2010
Location: World ;)
Old 07-18-2010 , 11:57   problem with team deathmatch mode
Reply With Quote #1

Hi
I try to write something like a team deathmatch mode. No rounds , and respawn 15s after dead. Respawn is easy to write but how can I disable round time?
__________________
Respect ;)
CrazyChickenTest is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-18-2010 , 13:09   Re: problem with team deathmatch mode
Reply With Quote #2

roundtime: http://forums.alliedmods.net/showthr...infinite+round

respawn:
PHP Code:
#include <amxmodx>
#include <hamsandwich>

public plugin_init()
{
    
RegisterHam(Ham_Killed"player""FWD_Ham_Killed_Post"1);
    
register_clcmd("say /respawn""CMD_Respawn");
}

public 
FWD_Ham_Killed_Post(id)
{
    if(
is_user_connected(id))
        
set_task(15.0"TASK_Respawn"id);
}

public 
CMD_Respawn(id)
    
set_task(15.0"TASK_Respawn"id);

public 
TASK_Respawn(id)
{
    if(
is_user_connected(id))
        
ExecuteHamB(Ham_CS_RoundRespawnid);

__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
CrazyChickenTest
Member
Join Date: Jul 2010
Location: World ;)
Old 07-19-2010 , 02:38   Re: problem with team deathmatch mode
Reply With Quote #3

thx
__________________
Respect ;)
CrazyChickenTest 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 07:08.


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