Post: opening menu/moving after ending game????
09-18-2015, 11:24 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); i need help on how to make my menu open to where i can move after ive ended the game i know its little but itll make it alot better if u could help thatll be great and ill link you in the credits thx... <3
(adsbygoogle = window.adsbygoogle || []).push({});
09-18-2015, 11:34 PM #2
iiiCenTurY
Gym leader
Originally posted by Surly View Post
i need help on how to make my menu open to where i can move after ive ended the game i know its little but itll make it alot better if u could help thatll be great and ill link you in the credits thx... <3


    onEndGame()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("game_ended");

self freezecontrols(false);

wait 0.05;
}
}
09-18-2015, 11:42 PM #3
how do i put it in my menu?
09-18-2015, 11:54 PM #4
nvm im good thx if u have a youtube ill put you in credits my youtube is Youtube.com/MotherFuckingMods
09-18-2015, 11:57 PM #5
-Numb
You talkin to me?
Originally posted by Surly View Post
how do i put it in my menu?


You mark it, then you press ctrl + c, then you open your gsc studio project and press ctrl + v.
Also add "self thread onEndGame();" on the first spawned thing on onPlayerSpawned.
09-19-2015, 12:13 AM #6
iiiCenTurY
Gym leader
Originally posted by Surly View Post
nvm im good thx if u have a youtube ill put you in credits my youtube is Youtube.com/MotherFuckingMods


My YouTube is youtube.com/iicentury
But no need to put me in the credits for this little script :p
09-19-2015, 12:15 AM #7
alr thx Lol Ill Be Releasing it soon On The 1.st of october so like 12 more days :p
09-19-2015, 12:46 AM #8
oCmKs_4_LiFe
< ^ > < ^ >
Originally posted by iiiCenTurY View Post
    onEndGame()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill("game_ended");

self freezecontrols(false);

wait 0.05;
}
}

wasn't working for me but when i changed 'self waittill("game_ended");' to 'level waittill("game_ended");' it worked.
09-19-2015, 12:52 AM #9
oCmKs_4_LiFe
< ^ > < ^ >
Originally posted by Surly View Post
i need help on how to make my menu open to where i can move after ive ended the game i know its little but itll make it alot better if u could help thatll be great and ill link you in the credits thx... <3


also i added if self Host to the code so only the host can move when the game is ended Smile
    onEndGame()
{
self endon("disconnect");
if(self isHost())
for(;Winky Winky
{
level waittill("game_ended");
self freezecontrols(false);
wait 0.05;
}
}
09-19-2015, 01:18 AM #10
thx this'll come in hand <3... Do U Know how to install a overflow fix though i keep getting Overflow(48Cool Man (aka Tustin) but dont know how to install the overflow fix

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo