Post: Setting player Models Help
10-27-2015, 05:29 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); okay so i just updated my menu and theres a few bugs that i just need to get worked out i tried really hard to fix a few issues and dont work i fixed most my bugs i just have like 2 more i need helpwith but for now my models function isnt working its too jittery and i dont want it to be jittery...

    SPM(model)
{
level endon("game_ended");
self endon("disconnect");
self endon("stopmodels");
self endon("death");
if(self.modeldead)self thread endModelondeath();
self.spawnedPlayerModel delete();
self.spawnedPlayerModel=spawn("script_model",self.origin);
self.spawnedPlayerModel SetModel(model);
if(self.spawnedPlayerModel=="t6_wpn_supply_drop_ally")self.spawnedPlayerModel notsolid();
self hide();
self.currentOrigin=self.origin;
self.currentAngle=self.angle;
for(;Winky Winky
{
if(self.origin!=self.currentOrigin)
{
self.spawnedPlayerModel MoveTo(self.origin,0.001);
self.currentOrigin=self.origin;
}
if(self.currentAngles!=self.angles)
{
self.spawnedPlayerModel RotateTo(self.angles,0.001);
self.currentAngles=self.angles;
}
}
}


the reason im not using just setModel is because that method freezes other players any help guys please?
(adsbygoogle = window.adsbygoogle || []).push({});
10-27-2015, 05:31 AM #2
anthonything
Space Ninja
Instead of decreasing the update time in the paremeter of MoveTo, increase it, to like .15. That will slow down the update speed and will give you a less "jittery" effect

The following user thanked anthonything for this useful post:

kewizzle
10-27-2015, 05:39 AM #3
Originally posted by anthonything View Post
Instead of decreasing the update time in the paremeter of MoveTo, increase it, to like .15. That will slow down the update speed and will give you a less "jittery" effect


ill try if anyone else has another way to fix this let me know keep this open ima use that for temporary
10-27-2015, 06:06 AM #4
Originally posted by anthonything View Post
Instead of decreasing the update time in the paremeter of MoveTo, increase it, to like .15. That will slow down the update speed and will give you a less "jittery" effect


tbh your solution works well

The following user thanked kewizzle for this useful post:

anthonything

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo