Raised This Month: $ Target: $400
 0% 

Teleport after 3 seconds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mazmaajinsh
Senior Member
Join Date: Apr 2005
Location: Latvia
Old 02-03-2009 , 15:18   Teleport after 3 seconds
Reply With Quote #1

Hello.
Could someone please edit this snippet for me, so it teleports all players after 3 seconds? I dont have an idea how to to that Thanks.
Code:
public jc_start_cup(id)
{ 
	for( new i = 0 ; i < 33; i++)
	{ 
		finish_locs[i][0] = 0.0
		finish_locs[i][1] = 0.0
		finish_locs[i][2] = 0.0
		climber[i] = "" 
	} 
	
	cup_start_id = id 
	
	cup_start_time = -1 
	cup_status = CUP_STATUS_RUNNING 
	
	announcments = 0 
	if( cup_rr_start )
	{ 
		set_cvar_string( "sv_restartround", "1") 
		set_cvar_string( "kz_checkpoints", "0")
		set_cvar_string( "amx_pausecfg", "pause prokreedz_hook")
		set_task(1.0,"time_remaining",8638459,"",0,"b") 
		client_print(0,print_chat,"[%s] Jump Cup has been started!", jc_pluginname ) 
	} 
	else
	{ 
		set_cvar_string( "kz_checkpoints", "0")
		cup_start_countdown = CUP_START_COUNTDOWN 
		
		set_task(1.0,"start_countdown",8638458,"",0,"b") 
		
		new Float:vOrigin[3];
		pev(id, pev_origin, vOrigin);
		new players[32], num;
		get_players(players, num, "ach", "");
		for( new i = 0; i < num; i++ )

		client_print(0,print_chat,"[%s] Jump Cup will start in %d seconds!", jc_pluginname, cup_start_countdown ) 
	} 
	
	set_task(2.5,"enable_godmode",8638457,"",0) 
	
	return PLUGIN_HANDLED 
}
__________________
Ahujena
mazmaajinsh 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 01:41.


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