Closed kamikazekuh closed 6 years ago
I was testing playerget and playerset viewcoord with this code:
event player_say { if (event_var(text) = "test") do { es playerget viewcoord event_var(userid) wcs_x1 wcs_y1 wcs_z1 } if (event_var(text) = "test2") do { es playerset viewcoord event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) } }
playerget viewcoord returns the same results as Player.view_coordinates.
But playerset viewcoord does not set it to the location it should.
It also does not seem to work properly in the original ES when testing with CS:S.
I decided to not fix it, because it's a bug in ES, not the emulator.
I was testing playerget and playerset viewcoord with this code:
playerget viewcoord returns the same results as Player.view_coordinates.
But playerset viewcoord does not set it to the location it should.