Darecki Posted February 28, 2008 Share Posted February 28, 2008 Hello, I have some problem with CLEO library. I have many .cs mods and a few of .cm etc. And when I will try to add one more .cs script, then some of the rest of scripts don't work Do you know what causes this problem? Link to comment Share on other sites More sharing options...
P.I.M.P_PL Posted February 28, 2008 Share Posted February 28, 2008 Hello, I have some problem with CLEO library.I have many .cs mods and a few of .cm etc. And when I will try to add one more .cs script, then some of the rest of scripts don't work Do you know what causes this problem? maybe this next script collide with other;) Link to comment Share on other sites More sharing options...
gtaragemachine Posted February 28, 2008 Share Posted February 28, 2008 How many cleo mods do you have running? I have 30 (that have alot of keypresses) without any problems. But, if I run an SCM mod that has alot of keypresses also, then I sometimes get things not working, or sometimes CJ freezes. So, I've just assumed that avoiding keypress conflicts are more important than having too many CLEOs installed. Link to comment Share on other sites More sharing options...
Darecki Posted February 28, 2008 Author Share Posted February 28, 2008 I have about 15 Cleo mods so, probably it's not the problem.. I haev problem with ZAZ's races and tuning scripts, When I added Helmet script then ZAZ's scripts don't work But when I delete files in the folder CLEO_Saves, then script work again So, one time this script works, one time it doesn't.. Maybe ZAZ will write something about that? Link to comment Share on other sites More sharing options...
ZAZ Posted February 29, 2008 Share Posted February 29, 2008 I have about 15 Cleo mods so, probably it's not the problem..I haev problem with ZAZ's races and tuning scripts, When I added Helmet script then ZAZ's scripts don't work But when I delete files in the folder CLEO_Saves, then script work again So, one time this script works, one time it doesn't.. Maybe ZAZ will write something about that? Please post the Helmet script or give a link CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Darecki Posted March 1, 2008 Author Share Posted March 1, 2008 Link to the Helmet mod: http://gta-worldmods.planet-multiplayer.de...&contentid=3880 I think that it's not the only problem.. I don't know why one time it works, and one time it doesn't.. ZAZ, could You tell me what the files in CLEO_Saves do? (cs1.sav, cs2.sav etc..) Sometimes when I delete files in this folder, then Your scripts works again. And after playing SA about two times, then scripts doesn't work Link to comment Share on other sites More sharing options...
ZAZ Posted March 1, 2008 Share Posted March 1, 2008 Link to the Helmet mod:http://gta-worldmods.planet-multiplayer.de...&contentid=3880 I think that it's not the only problem.. I don't know why one time it works, and one time it doesn't.. ZAZ, could You tell me what the files in CLEO_Saves do? (cs1.sav, cs2.sav etc..) Sometimes when I delete files in this folder, then Your scripts works again. And after playing SA about two times, then scripts doesn't work Because of same reasons Cleo make additional savefiles For exemble if a author of a Cleo script adds parked cars or weapon pickups, he must add a code to save the script state. 0A95: enable_thread_saving If this code not available and you save and load then this save the thread runs again from beginning and the parked cars or weapon pickups will be created in a new instance. So the Cleo saves includes the information to save the script state. CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
gtaragemachine Posted March 1, 2008 Share Posted March 1, 2008 There is a global that I'm guessing should be a local and is probably going to cause problems: {$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------thread 'HELM' :HELM_11wait 0 if Player.Defined($PLAYER_CHAR)else_jump @HELM_11 if 047A: actor $PLAYER_ACTOR driving_bike else_jump @HELM_109 if $HELM1 == 0 else_jump @HELM_11 0793: save_player_clothes Player.SetClothes($PLAYER_CHAR, "HELMET", "HELMET", 16)Player.Build($PLAYER_CHAR)$HELM1 = 1 jump @HELM_11 :HELM_109if $HELM1 == 1 else_jump @HELM_11 0794: restore_player_clothes Player.Build($PLAYER_CHAR)$HELM1 = 0 jump @HELM_11 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now