SamJohnson98 Posted January 30, 2012 Share Posted January 30, 2012 (edited) Can someone help me? I have a player replacer mod by CoinGod but I want to add button so that when I press PgDown it changes into whatever in the gta3.img and when I press End it changes back to CJ. Can someone please? Here is the original script: / This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007 {$VERSION 3.1.0027} {$CLEO .cs} //-------------MAIN--------------- thread 'REPLACE' 0A95: enable_thread_saving :REPLACE_13 wait 0 023C: load_special_actor 'COINGOD' as 1 // models 290-299 if 023D: special_actor 1 loaded else_jump @REPLACE_13 09C7: change_player $PLAYER_CHAR model_to #SPECIAL01 0A93: end_custom_thread Someone please help. I know there are great modders out there, but unfortunately I'm not one of them. Edited January 30, 2012 by SamJohnson98 Link to comment Share on other sites More sharing options...
fastman92 Posted January 30, 2012 Share Posted January 30, 2012 {$CLEO}constSPECIAL_ACTOR_MODEL_NAME = 'SWEET'KEY = 34 // page downend0000: NOP:replacePlayerToSpecialActorwait 0if0AB0: key_pressed KEY // 0 zeroelse_jump @replacePlayerToSpecialActor023C: load_special_actor SPECIAL_ACTOR_MODEL_NAME as 1 // models 290-299 while 823D: not special_actor 1 loaded wait 0 end 09C7: change_player $PLAYER_CHAR model_to #SPECIAL01wait 500:restorePlayerModelwait 0if0AB0: key_pressed KEY // 0 zeroelse_jump @restorePlayerModel0296: unload_special_actor 109C7: change_player $PLAYER_CHAR model_to #NULLwait 500jump @replacePlayerToSpecialActor Link to comment Share on other sites More sharing options...
SamJohnson98 Posted January 30, 2012 Author Share Posted January 30, 2012 Thanks a lot fastman92 I love your work on cleo mods But why does my game crashes on your mod 'Carspawn 2.0' ? I can play the 1.1 version fine but 2.0 crashes my game after loading the game. Do you know what's the problem? I checked the size, it's exactly like this size: 14 383 616 bytes GTA San Andreas v1.0 [uS] HOODLUM No-CD Fixed (that's what you wrote on the readme) Can you please reply... Link to comment Share on other sites More sharing options...
fastman92 Posted January 30, 2012 Share Posted January 30, 2012 (edited) Thanks a lot fastman92 I love your work on cleo mods But why does my game crashes on your mod 'Carspawn 2.0' ? I can play the 1.1 version fine but 2.0 crashes my game after loading the game. Do you know what's the problem? I checked the size, it's exactly like this size: 14 383 616 bytes GTA San Andreas v1.0 [uS] HOODLUM No-CD Fixed (that's what you wrote on the readme) Can you please reply... What CLEO version do you have? Car spawner requires CLEO4. Version 2.1 will be compatible with CLEO3 too without possibility to read .ini file (no configuration). Do you have IniFiles.cleo and IntOperations.cleo in CLEO directory? Did you copy all files from "put_to_root_of_GTASA" to GTA San Andreas directory? Edited January 30, 2012 by fastman92 Link to comment Share on other sites More sharing options...
SamJohnson98 Posted January 30, 2012 Author Share Posted January 30, 2012 Uh, nevermind... I just copied the whole "CLEO" folder and it works. Before I open the cleo folder and copy the things inside the folder. Oh well, thanks by the way. To me, you are one of the great cleo modders. Thanks again. 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