CLEO Help Active checkpoint

CLEO related
Status
Not open for further replies.

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
Hi. How can I check for active checkpoint? I have only found a few opcodes that only create and other few things but not what i need. Can someone help me please?
 

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
This might be useful however im not totally sure how to use call functions.. ive never been thought by anyone nor have needed this skill. Would you mind helping me figure out if there is an active checkpoint then chatmsg "active checkpoint" else chatmsg "no active checkpoint"
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,719
Solutions
1
Reaction score
111
Call functions are really useful and quite simple once you know. In regards to this on that thread above the "call @is_cp_active 0 " can be used in an "IF" as it returns true/false value.
C++:
IF
    call @is_cp_active 0
THEN
    //Do stuff
END
More info on call functions.
 
Status
Not open for further replies.
Top