View Full Version : Few questions
przemekh10
4th May 2013, 07:38
-
EvoloZz
4th May 2013, 07:52
1. player freezeControls(true/false);
2. player setOrigin(the origin);
3. player setModel(the model); - I am not 100% sure about that.
przemekh10
4th May 2013, 09:48
-
kung foo man
4th May 2013, 10:43
The third might not worked for you because you didn't precache the model with precacheModel("...")
You can set the original model back using:
maps\mp\gametypes\_teams::model();
or
maps\mp\_utility::loadModel(self.pers["savedmodel"]);
Earliboy
4th May 2013, 13:14
About xmodels:
Part of my xmodel script:
self detachAll();
self setModel(model);
Getting back normal:
getBack()
{
self enableWeapon();
self detachAll();
self thread maps\mp\gametypes\_teams::model();
wait 1;
self setClientCvar("cg_thirdpersonRange","120");
self setClientCvar("cg_thirdperson","0");
}
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.