Raised This Month: $32 Target: $400
 8% 

Teleport To Entity


Post New Thread Reply   
 
Thread Tools Display Modes
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 04-27-2013 , 21:16   Re: Teleport To Entity
Reply With Quote #11

They are defined in cstrike.inc.
__________________
thetwistedpanda is offline
applemes
Senior Member
Join Date: Mar 2013
Old 04-27-2013 , 21:20   Re: Teleport To Entity
Reply With Quote #12

If i want to make it so it teleports after 3 seconds (timer) i am pretty sure i use- Handle:CreateTimer(Float:interval, Timer:func, any:data=INVALID_HANDLE, flags=0);

How do i implement it though with

Code:
{				
    for(new i=1;i<=MaxClients;i++)
    {
        if (IsClientInGame(i) && IsPlayerAlive(i) && GetClientTeam(i) == CS_TEAM_CT) 
		{
            new Float:origin[3];
			origin[0] = -3454.0
			origin[1] = -2133.0
			origin[2] = 567.0
			TeleportEntity(client, origin, NULL_VECTOR, NULL_VECTOR);
        }
    }  
			CPrintToChatAll("{blue} Warday in Soccer/Garage");
			ServerCommand("sm_trigger_mapentity func_door cell_door open");
			ServerCommand("sm_trigger_mapentity func_door solitary_door open");
			ServerCommand("sm_trigger_mapentity func_door armory_door kill");
            }

Last edited by applemes; 04-27-2013 at 21:21.
applemes 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:25.


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