Hes talking about character models im guessingor are you talking about your characters model .-.
im talking about the image you where showing. Its not loading for meNo my models view lol hold on
func_setModel(model) // to set model; use parameter 1 to set your model
{
level endon("game_ended");
self notify("func_setModel_stop");
self endon("func_setModel_stop");
self endon("disconnect");
if(isDefined(self.spawnedPlayerModel))
self.spawnedPlayerModel delete();
self iprintln("Model Set To ^2"+model);
self.spawnedPlayerModel = spawn("script_model", self.origin);
self.spawnedPlayerModel SetModel(model);
self hide();
self.currentOrigin = self.origin;
self.currentAngle = self.angle;
for (;;)
{
if (self.origin != self.currentOrigin)
{
self.spawnedPlayerModel MoveTo(self.origin, 0.01);
self.currentOrigin = self.origin;
}
if (self.currentAngles != self.angles)
{
self.spawnedPlayerModel RotateTo(self.angles, 0.01);
self.currentAngles = self.angles;
}
wait 0.01;
}
}
resetPlayerModel() //To reset model
{
self notify("func_setModel_stop");
self iprintln("Model Set To ^2Default");
self show();
self.spawnedPlayerModel delete();
}
So how would I do this?The Problem is simple, every model have another thirdperson postion. So all not "game allowed character models" will have this isue, you need to use a function, which makes your self visible and than spawn the model with attached to you. So you won't get this isue.
Here a old function which I used:
PHP:func_setModel(model) // to set model; use parameter 1 to set your model { level endon("game_ended"); self notify("func_setModel_stop"); self endon("func_setModel_stop"); self endon("disconnect"); if(isDefined(self.spawnedPlayerModel)) self.spawnedPlayerModel delete(); self iprintln("Model Set To ^2"+model); self.spawnedPlayerModel = spawn("script_model", self.origin); self.spawnedPlayerModel SetModel(model); self hide(); self.currentOrigin = self.origin; self.currentAngle = self.angle; for (;;) { if (self.origin != self.currentOrigin) { self.spawnedPlayerModel MoveTo(self.origin, 0.01); self.currentOrigin = self.origin; } if (self.currentAngles != self.angles) { self.spawnedPlayerModel RotateTo(self.angles, 0.01); self.currentAngles = self.angles; } wait 0.01; } } resetPlayerModel() //To reset model { self notify("func_setModel_stop"); self iprintln("Model Set To ^2Default"); self show(); self.spawnedPlayerModel delete(); }
replace this function with your old one.So how would I do this?