sorry, didnt have enough time when i replied first time then forgot about it , my bad.
here it is...
change
Code:
//set the player's coordinates in the new zone so they have them
//when they zone into it
x_pos = dest_x; //these coordinates will now be saved when ~client is called
y_pos = dest_y;
z_pos = dest_z;
m_pp.heading = dest_h;
m_pp.zone_id = zone_id;
//Force a save so its waiting for them when they zone
Save();
to...
Code:
//set the player's coordinates in the new zone so they have them
//when they zone into it
x_pos = dest_x; //these coordinates will now be saved when ~client is called
y_pos = dest_y;
z_pos = dest_z;
heading = dest_h;
m_pp.heading = dest_h;
m_pp.zone_id = zone_id;
//Force a save so its waiting for them when they zone
SendPosUpdate();
Save();
very simple. This works on 6.6 havent fully tested on 7.0.