GetPlayerFacingAngle after SetPlayerFacingAngle
#6

Quote:
Originally Posted by Patrik356b
Посмотреть сообщение
You make a good point but depending on the implementation of functions this would also work within logics:

-> SetPlayerPos: Set new position and store the new position
-> GetPlayerPos: Gets the new position
-> OnPlayerUpdate: Store updated position
Idk if it's true (I'm not a scripter), but

Quote:
Originally Posted by Basssiiie
Посмотреть сообщение
I remember the same problem occurs with GetPlayerPos after SetPlayerPos, but I can't say that for sure.
Same "bug" for that then

OnPlayerUpdate -> Get x1, y1, z1, other stuff, all player info
SetPlayerPos -> sets the position to x2,y2,z2
GetPlayerPos -> still uses the original data: x1,y1,z1
Reply


Messages In This Thread
GetPlayerFacingAngle after SetPlayerFacingAngle - by MP2 - 06.06.2012, 23:34
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by Basssiiie - 09.06.2012, 12:46
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by [MM]IKKE - 09.06.2012, 12:50
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by Basssiiie - 09.06.2012, 13:09
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by Patrik356b - 09.06.2012, 17:20
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by [MM]IKKE - 09.06.2012, 18:03
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by leong124 - 09.06.2012, 18:29
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by MP2 - 10.06.2012, 01:12
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by cessil - 10.06.2012, 02:07
Re: GetPlayerFacingAngle after SetPlayerFacingAngle - by MP2 - 10.06.2012, 02:19

Forum Jump:


Users browsing this thread: 4 Guest(s)