CLEO Help about looping a script

CLEO related
Status
Not open for further replies.

HowEnCokkien

Well-known member
Joined
Jul 9, 2017
Messages
307
Reaction score
10
if someone can loop this shit, it will be so useful. in some servers when you unfreezing it freezes you again, so this script must have a loop which send the antifreeze data every second. ty
 

Attachments

  • anti adm freeze F10.cs
    17.2 KB · Views: 8
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Just do

[shcode=cpp]
while true
wait 0
Player.CanMove($PLAYER_CHAR) = True
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
end
[/shcode]
 

0BE4

Active member
Joined
Jan 15, 2017
Messages
124
Reaction score
2
There is one thing.... you should put one "wait 200" or else the game will crash/slow down
 
Status
Not open for further replies.
Top