[Helicopter Mod] Third person?
Is there a way that in the Helicopter mod I can see IT like in third person? I find it a little harder to use. I noticed in the codes "cg_thirdperson 0" changed to 1 but didn't make a difference. ANy way?
at the _globallogic script add
bottom of spanwplayer:
____________________________________________
self setClientDvar("cg_thirdPerson", 1);
self thread thirdPersonADS();
____________________________________________
add this function to end of the _globallogic script:
____________________________________________
thirdPersonADS() // called from spawnePlayer()
{
self endon( "killed_player" );
self endon( "joined_spectators" );
self endon( "disconnect" );
lastAds = false;
while (isPlayer(self) && self.sessionstate == "playing")
{
wait .05;
curAds = self playerAds();
if (curAds && curAds != lastAds)
self setClientDvar("cg_thirdPerson", 0);
else if (!curAds && curAds != lastAds)
{
if (!self meleeButtonPressed())
self setClientDvar("cg_thirdPerson", 1);
}
lastAds = curAds;
}
}