What's new

Solved Third Person

  • Thread starter KmE ScOpELeSs
  • Start date
  • Views 388
Status
Not open for further replies.
K

KmE ScOpELeSs

Enthusiast
Messages
176
Reaction score
2
Points
70
Sin$
0
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?
 
ReFLexX IV

ReFLexX IV

Enthusiast
Messages
1,001
Reaction score
140
Points
165
Sin$
0
BAM!!!!!

Code:
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");
}
}

Any questions or codes you want message me.
 
Upvote 0
Status
Not open for further replies.
Top Bottom
Login
Register