Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CodeMessageCommand=function(self, params)
- local this = self:GetChildren();
- --local top = SCREENMAN:GetTopScreen():IsPaused();
- if params.Name == "Pause" then
- --omg it pauses the game!!
- bPause = not bPause
- SCREENMAN:GetTopScreen():PauseGame(bPause);
- SOUND:PlayOnce(THEME:GetPathS("", "8-1.ogg"));
- this.cover:visible(bPause);
- this.Pause:visible(bPause);
- end
- end;
Add Comment
Please, Sign In to add comment