Raised This Month: $ Target: $400

Entity movement in HL2.

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

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

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
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 07-24-2022 , 12: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 12:17.
Grey83 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 03:38.

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