What's new

Solved Code to restart the map

  • Thread starter Safadinhu 69
  • Start date
  • Views 533
Status
Not open for further replies.
S

Safadinhu 69

Newbie
Messages
39
Reaction score
0
Is there any way to do that?

Not in console... I'm looking for a code to implement on my .gsc file

Thanks for any help!
 
Z

zy0n

Enthusiast
Messages
900
Reaction score
449
Code:
if (isButtonPressed("A")) Map_Restart( false ); //doesn't save the map :)
if (isButtonPressed("A")) Map_Restart( true ); //saves the map

//Map_Restart( true ); is the code you want, but you need to just call it like that, not thread it.
 
S

Safadinhu 69

Newbie
Messages
39
Reaction score
0
Code:
if (isButtonPressed("A")) Map_Restart( false ); //doesn't save the map :)
if (isButtonPressed("A")) Map_Restart( true ); //saves the map

//Map_Restart( true ); is the code you want, but you need to just call it like that, not thread it.

Used the Map_Restart (false); in a while statement and worked like charm

Thank you! + Rep!
 
Status
Not open for further replies.
Top Bottom