velnens123 Posted July 26, 2011 Share Posted July 26, 2011 Great tutorial! I have learned a basic scripting, but how to use fades and make everyone attack you. Fades just doesnt work, whatever I do! Link to comment Share on other sites More sharing options...
DaRk_St0rM Posted August 20, 2011 Share Posted August 20, 2011 Great work! The best tutorial i'v seen. Thank you very much. Link to comment Share on other sites More sharing options...
basiljoseph Posted August 26, 2011 Share Posted August 26, 2011 Please, dont give direct links to the Sanny Builder installer (your very first post contains it). Link to the download page instead. The reason is that direct links become broken eventually (as that your link to SB 3.03) thus useless. Link to comment Share on other sites More sharing options...
kalonkas Posted August 22, 2012 Share Posted August 22, 2012 Very nice tutorial! Great job, but i have an question. I want to make an elevator, and i've tried with 2 codes, both don't work, any help? {$CLEO .cs}:LIFTS_103A4: name_thread 'LIFT':LIFTS_20001: wait 0 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false @LIFTS_200D6: if 000FE: actor $PLAYER_ACTOR sphere 0 in_sphere -545.9601 2594.1699 53.5156 radius 200.0 200.0 200.0004D: jump_if_false @LIFTS_20247: request_model 167950247: request_model 16797038B: load_requested_models:LIFTS_30001: wait 0 msif and0248: model 16795 available0248: model 16797 available004D: jump_if_false @LIFTS_30107: [email protected] = create_object 16795 at -534.84 2632.83 52.50177: set_object [email protected] Z_angle_to 268.0 0392: make_object [email protected] moveable 10107: [email protected] = create_object 16797 at -532.875 2657.53 33.130177: set_object [email protected] Z_angle_to -2.340392: make_object [email protected] moveable 10006: [email protected] = 0:LIFTS_40001: wait 0 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false @LIFTS_1301BB: store_object [email protected] position_to [email protected] [email protected] [email protected]: if 000FE: actor $PLAYER_ACTOR sphere 0 in_sphere -545.9601 2594.1699 53.5156 radius 210.0 210.0 210.0004D: jump_if_false @LIFTS_13if0039: [email protected] == 0004D: jump_if_false @LIFTS_5if or00FE: actor $PLAYER_ACTOR sphere 0 in_sphere -534.84 2632.83 52.5 radius 3.0 3.0 3.000FE: actor $PLAYER_ACTOR sphere 0 in_sphere -534.48 2640.05 46.39 radius 8.0 8.0 3.0004D: jump_if_false @LIFTS_5 0006: [email protected] = 1:LIFTS_5if0039: [email protected] == 1004D: jump_if_false @LIFTS_7if0021: [email protected] > 46.0 // floating-point values004D: jump_if_false @LIFTS_6034E: move_object [email protected] to -534.84 2632.83 45.0 speed 0.0 0.0 0.04 flag 0 0002: jump @LIFTS_4:LIFTS_60006: [email protected] = 20001: wait 2000 ms0002: jump @LIFTS_4:LIFTS_7if0039: [email protected] == 2004D: jump_if_false @LIFTS_4if0023: 52.5 > [email protected] // floating-point values004D: jump_if_false @LIFTS_8034E: move_object [email protected] to -534.84 2632.83 53.5 speed 0.0 0.0 0.04 flag 00002: jump @LIFTS_4:LIFTS_80006: [email protected] = 00001: wait 2000 ms0002: jump @LIFTS_4:LIFTS_13 0108: destroy_object [email protected]: destroy_object [email protected]: jump @LIFTS_2 Its ZAZ code, but when i come near elevator my gta crashes. {$CLEO .cs}:ONEDOOR_103A4: name_thread 'ONEDOOR' :ONEDOOR_30001: wait 0 ms if0256: player $PLAYER_CHAR defined 004D: jump_if_false @ONEDOOR_3if00FE: actor $PLAYER_ACTOR 0 (in-sphere)near_point -2288.26 582.877 33.706 radius 80.5 80.5 80.5004D: jump_if_false @ONEDOOR_30107: [email protected] = create_object 3095 at -2288.26 582.877 33.7060007: [email protected] = -2288.26 // default X (closed)0007: [email protected] = 582.877 //default Y (closed)0007: [email protected] = 33.706 //default Z (closed)0007: [email protected] = -2288.26 // destination X (open)0007: [email protected] = 582.877 // destination Y (open) 0007: [email protected] = 50.906 // destination Z (open)0006: [email protected] = 00006: [email protected] = 00002: jump @ONEDOOR_12:ONEDOOR_120001: wait 0 ms if0256: player $PLAYER_CHAR defined 004D: jump_if_false @ONEDOOR_75 if 80FE: not actor $PLAYER_ACTOR 0 (in-sphere)near_point [email protected] [email protected] [email protected] radius 95.5 95.5 95.5004D: jump_if_false @ONEDOOR_13 0002: jump @ONEDOOR_75:ONEDOOR_13if0039: [email protected] == 0 // integer values004D: jump_if_false @ONEDOOR_15 if00FE: actor $PLAYER_ACTOR 0 (in-sphere)near_point [email protected] [email protected] [email protected] radius 20.5 20.5 20.50AB0: key_pressed 76//------------------key = L 004D: jump_if_false @ONEDOOR_150006: [email protected] = 1000A: [email protected] += 1 // integer values0002: jump @ONEDOOR_15:ONEDOOR_15if0039: [email protected] == 1 // integer values004D: jump_if_false @ONEDOOR_18:ONEDOOR_16if0039: [email protected] == 1 // integer values004D: jump_if_false @ONEDOOR_17034E: move_object [email protected] to [email protected] [email protected] [email protected] speed 0.0 0.0 0.9 flag 0if04E5: object [email protected] near_point [email protected] [email protected] [email protected] radius 1.0 1.0 flag 0004D: jump_if_false @ONEDOOR_170006: [email protected] = 20006: [email protected] = 10001: wait 500 ms0002: jump @ONEDOOR_29:ONEDOOR_17if0039: [email protected] == 3 // integer values004D: jump_if_false @ONEDOOR_18034E: move_object [email protected] to [email protected] [email protected] [email protected] speed 0.0 0.0 0.9 flag 0if04E5: object [email protected] near_point [email protected] [email protected] [email protected] radius 0.1 0.1 flag 0004D: jump_if_false @ONEDOOR_180006: [email protected] = 00006: [email protected] = 0:ONEDOOR_18if and0039: [email protected] == 2 // integer values80FE: not actor $PLAYER_ACTOR 0 (in-sphere)near_point [email protected] [email protected] [email protected] radius 19.0 19.0 15.0004D: jump_if_false @ONEDOOR_190006: [email protected] = 10006: [email protected] = 30002: jump @ONEDOOR_12:ONEDOOR_19if and0039: [email protected] == 2 // integer values80FE: not actor $PLAYER_ACTOR 0 (in-sphere)near_point [email protected] [email protected] [email protected] radius 3.0 3.0 5.00AB0: key_pressed 76004D: jump_if_false @ONEDOOR_290006: [email protected] = 10006: [email protected] = 30002: jump @ONEDOOR_12:ONEDOOR_290002: jump @ONEDOOR_12:ONEDOOR_7501C4: remove_references_to_object [email protected] // This object will now disappear when the player looks away03F0: text_draw_toggle 0 0001: wait 1000 ms0006: [email protected] = 00006: [email protected] = 00002: jump @ONEDOOR_3 still ZAZ script, but it opens gates, i changed values but object doesnt move. ;/ Link to comment Share on other sites More sharing options...
ZAZ Posted August 22, 2012 Author Share Posted August 22, 2012 Very nice tutorial! Great job, but i have an question. I want to make an elevator, and i've tried with 2 codes, both don't work, any help? Its ZAZ code, but when i come near elevator my gta crashes. model id 16795 and 16797 don't exist in originaly San Andreas the member stripprpimp added 2 objects to his game as lift objects and asked for help to realize a special liftscript where you found that script still ZAZ script, but it opens gates, i changed values but object doesnt move. ;/ it doesn't work anymore because you edited values, hoping the object would move vertical but the script works only for object moving horizontal CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
deltaCJ Posted January 9, 2016 Share Posted January 9, 2016 How can i make a phone call? Link to comment Share on other sites More sharing options...
ZAZ Posted January 10, 2016 Author Share Posted January 10, 2016 How can i make a phone call? load model CELLPHONE first, then use opcode 0729: CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
LordStarship Posted June 23, 2018 Share Posted June 23, 2018 Somebody should revive the Mission Coding For Pro's. ZAZ could do it, since Patrick and Dutchy disappeared from the community. 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