Post: Is there any freeze player variable?
05-17-2015, 06:19 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Anyway to make thread start whenever you are not frozen, or something like that?
(adsbygoogle = window.adsbygoogle || []).push({});
05-17-2015, 10:29 AM #2
What do you exactly want? To freeze players you would use
    
playerRef freezeControls(true);// false will disable
05-18-2015, 05:22 AM #3
Originally posted by Bitwise View Post
What do you exactly want? To freeze players you would use
    
playerRef freezeControls(true);// false will disable


I want to make a thread start after the players are unfrozen, like when player spawn, they are frozen until a certain period of time, I want to start a thread on the second he is unfrozen. idk if you understood, talk to me on skype and I can explain better: im_couto
05-18-2015, 01:09 PM #4
So you basically want to monitor someones movement? Too bad GSC doesn't support accessing memory or we could do it the easy way, only thing you can do is send notifies after calling the function...
    
player freezeControls(true)
player notify("frozen");
...
player freezeControls(false);
player notify("unfrozen");


Then inside your thread, you would use waittil to wait until a string value is notified, so you could do whatever you want when they are in that state...so on player spawn, you would have to call it using true, to notify everyone is frozen (no way of grabbing the data via gsc) but I seriously don't even see the point in doing it...onPlayerSpawn is spawn monitoring, setting it to false will be walking when the countdown clock is ticking, is that what you want? I see no use in monitoring people's movement
05-18-2015, 09:48 PM #5
erm, the use I have for it is the calculated match bonus thingy, but I don't quite understand what you are meaning, do you have skype or twitter so we can talk?

my skype is: im_couto
twitter : @conditionais

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo