K
KmE ScOpELeSs
Enthusiast
Is there a way to make it so when you press start you can toggle thrid person on and off but change the distance for third person?
doCamera()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for(;;)
{
self waittill( "dpad_up" );
setDvar("camera_thirdPerson", "1");
self iPrintlnBold("^3Third Person On");
self waittill( "dpad_up" );
setDvar("camera_thirdPerson", "0");
self iPrintlnBold("^3Third Person Off");
}
}