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

Entity movement in HL2.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tonline_kms65
Member
Join Date: Aug 2016
Location: Ru. Komsomol-on-Amur
Old 07-23-2022 , 22:48   Entity movement in HL2.
Reply With Quote #1

Hello everyone.
The TeleportEntity function is not supported in half-life 2, the error is:

Code:
ERROR!: 
Can't create physics object for models/...................../base.mdl
L 07/24/2022 - 12:39:35: [SM] Exception reported: "Teleport" not supported by this mod
L 07/24/2022 - 12:39:35: [SM] Blaming: plugin.smx
L 07/24/2022 - 12:39:35: [SM] Call stack trace:
L 07/24/2022 - 12:39:35: [SM] [0] TeleportEntity
If this function is not supported, how to move an object to HL2?
tonline_kms65 is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 07-24-2022 , 11:16   Re: Entity movement in HL2.
Reply With Quote #2

SetEntPropVector(client, Prop_Send, "m_vecOrigin", fPos);
but if at the time of using the function the player is not standing, then teleportation will not occur =(
__________________

Last edited by Grey83; 07-24-2022 at 11:17.
Grey83 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 13:48.


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