What's new

Solved Moving before the initinial countdown finishes

  • Thread starter SlantedPillow
  • Start date
  • Views 442
Status
Not open for further replies.
S

SlantedPillow

Enthusiast
Messages
72
Reaction score
12
What's the code for moving as soon as you spawn. While the countdown is still going on.

Thanks.
 
T

The Blob

xXxThe11thxXx ?
Messages
662
Reaction score
68
Im 99.99% sure that this is posted on se7ensins already. Go to the Modern Warfare 2 modding section or search for it. That is faster and easier then taking the time to make a whole new post...
 
E

em for mikey

Getting There
Messages
2,403
Reaction score
198
Code:
self freezeControlsWrapper( false );
 
S

SlantedPillow

Enthusiast
Messages
72
Reaction score
12
Im 99.99% sure that this is posted on se7ensins already. Go to the Modern Warfare 2 modding section or search for it. That is faster and easier then taking the time to make a whole new post...

I tried the search function and it has the 4 characters or more restriction and it's annoying to word it properly.
Does the code go in onPlayerSpawned or onPlayerConnect?
 
T

The Blob

xXxThe11thxXx ?
Messages
662
Reaction score
68
I tried the search function and it has the 4 characters or more restriction and it's annoying to word it properly.
Does the code go in onPlayerSpawned or onPlayerConnect?

Oh well I think someone helped you so nevermind. But try using the "Google Site Search" I don't think there is a limit for that option just for future refrence...
 
C

CrAzY FaIrYHoPn

FairyHopn' All Day
Retired
Messages
3,452
Reaction score
1,907
Just as an FYI, the support section's purpose is to get help fast. So when in the support section please do not ask people to go "USE THE SEARCH BAR". They have probably tried and that comment is not needed. Thank you
 
7

7S Fear

Enthusiast
Messages
1,103
Reaction score
273
I tried the search function and it has the 4 characters or more restriction and it's annoying to word it properly.
Does the code go in onPlayerSpawned or onPlayerConnect?
Code:
onPlayerSpawned()
{
self endon( "disconnect" );

for(;;)
{
self waittill( "spawned_player" );
self freezeControlsWrapper( false );
}
}
 
S

SlantedPillow

Enthusiast
Messages
72
Reaction score
12
Code:
onPlayerSpawned()
{
self endon( "disconnect" );

for(;;)
{
self waittill( "spawned_player" );
self freezeControlsWrapper( false );
}
}

Sweet, thank you.
 
L

Lost4468

Contributor
Messages
2,202
Reaction score
1,760
Or just do "self freezecontrols(0)".
 
Status
Not open for further replies.
Top Bottom