I'm displaying an unmoving model in 3d space at some coordinates I load from MySQL.
When I pass the coordinates thusly, it displays the model at the location:
PHP Code:
entity_set_origin(entity,Origin)
When I do it this way, I see nothing at the location:
PHP Code:
set_pev(entity,pev_origin,Origin)
In one compile, I even went as far as logging the origin, calling entity_set_origin(entity,Origin), and then reading it back by using pev(entity,pev_origin,Origin) and logging the value a second time. (I could see the model and everything)
In a second compile, I logged the origin, called set_pev(entity,pev_origin,Origin), and then read it back by using pev(entity,pev_origin,Origin) and logged the value a second time. (Though I could not see the model because I used set_pev)
All four of the logged origins were exactly the same, yet set_pev makes no model appear. Any suggestions?
__________________