Raised This Month: $ Target: $400
 0% 

old origin (fall damage)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-30-2018 , 16:40   old origin (fall damage)
Reply With Quote #1

Hello, I'm trying to save player's origin before of he fell and "teleport" him to this origin if he receive fall damage. Since is there no specific way to do this, what I did then was loop through players each 0.1 seconds, save their origin and teleport they when receive fall damage.

It's working but sometimes the saved origin is the same point from where they fall, so when I teleport them, they stay falling infinitly. Also, I tried to save origin while they climb ladder, but if I teleport them to this origin, same problem happen.

Spoiler
__________________









Last edited by CrazY.; 12-30-2018 at 16:45.
CrazY. is offline
 



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:16.


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