Pausing actions not working


#1

Hello,
I’m trying to pause my sprite’s actions with pauseSchedulerAndActions(), but it’s not working.
I’ve run one action prior to pausing and that is CCRepeatForever. Has anyone had problem like this?

Here’s code:
@
this~~>runAction));
this~~>pauseSchedulerAndActions();@

Thanks for your help in advance.