lildee Posted September 20, 2007 Share Posted September 20, 2007 Hello can someone give me the codes for the cj high and drunk mode and also for the overspeeding mod its like when your going to fast your wanted level goes up thanks I have search the codes in the forum but i hope they are correct Link to comment Share on other sites More sharing options...
Wesser Posted September 20, 2007 Share Posted September 20, 2007 (edited) Hi, You can find the speed limit mod in the Back to Reality topic but you can found the new version here (not tested). while truewait 0if Player.Defined($PLAYER_CHAR)then 080E: store_actor $PLAYER_ACTOR present_ped_event_to [email protected] if [email protected] == 72 // COPS SEEN YOU then if Actor.Driving($PLAYER_ACTOR) then // TEST SPEED LIMIT 03C0: [email protected] = actor $PLAYER_ACTOR car 02E3: [email protected] = car [email protected] speed if [email protected] > 30.0 then// if 0154: actor $PLAYER_ACTOR in_zone 'SAN_AND' if or 0154: actor $PLAYER_ACTOR in_zone 'SF' 0154: actor $PLAYER_ACTOR in_zone 'LA' 0154: actor $PLAYER_ACTOR in_zone 'VE' then Player.SetMinWantedLevel($PLAYER_CHAR, 2) end end else // TEST FIRE GUNS 0470: [email protected] = actor $PLAYER_ACTOR current_weapon if and [email protected] >= 16 [email protected] <= 40 then Player.SetMinWantedLevel($PLAYER_CHAR, 2) end end end endend // while Here is the code of "CJ high and drunk" mod. create_thread @DRUNK create_thread @SMOKE create_thread @DRINK ...............:DRUNKthread 'DRUNK' 09E2: init_vehicle_generator at_3D_coord 2504.047 -1678.798 13.37605 ang 16.0 modelID #SAVANNA col 93 3 0 al 0 lc 0 0 10000 plt "_ROLLA__" handle_as &43849 014C: set_vehicle_generator &43849 vehicles_to_generate_to 101 &43845 = 0 // G = INT &43841 = 1 // G = INT 04ED: load_animation "GANGS" Model.Load(#CIGAR)&43843 = 1 // L = INT :DRUNK_105#GRASSPLANT = Pickup.Create(3, 2247.395, -1253.71, 24.0, [email protected])#GRASSPLANT = Pickup.Create(3, 2458.654, -1717.004, 12.0, [email protected])#GRASSPLANT = Pickup.Create(3, 511.1169, -72.95301, 997.0, [email protected])#CIGAR = Pickup.Create(3, 2463.143, -1712.092, 13.50691, [email protected])#CIGAR = Pickup.Create(3, 2253.906, -1250.897, 25.45253, [email protected])#CIGAR = Pickup.Create(3, 510.2982, -76.86326, 998.7578, [email protected]):DRUNK_252wait 500 if or Pickup.Picked_up([email protected]) Pickup.Picked_up([email protected]) Pickup.Picked_up([email protected])jf @DRUNK_331 Pickup.Destroy([email protected])Pickup.Destroy([email protected])Pickup.Destroy([email protected])&43841 = 0 // G = INT &43837 = 0 // G = INT fade 500 0 wait 1000 jump @DRUNK_426 :DRUNK_331if or Pickup.Picked_up([email protected]) Pickup.Picked_up([email protected]) Pickup.Picked_up([email protected])jf @DRUNK_713 Pickup.Destroy([email protected])Pickup.Destroy([email protected])Pickup.Destroy([email protected])&43841 = 1 // G = INT &43837 = 0 // G = INT Player.SetHandlingResponsiveness($PLAYER_CHAR, 1)Player.SetDrunkVisuals($PLAYER_CHAR, 0)015D: set_gamespeed_to 1.0 //float fade 500 0 wait 1000 jump @DRUNK_546 :DRUNK_426if &43845 == 0 // G == INT jf @DRUNK_473 Player.SetHandlingResponsiveness($PLAYER_CHAR, 5)Player.SetDrunkVisuals($PLAYER_CHAR, 255)015D: set_gamespeed_to 0.75 //float jump @DRUNK_546 :DRUNK_473Player.SetHandlingResponsiveness($PLAYER_CHAR, 1)Player.SetDrunkVisuals($PLAYER_CHAR, 0)015D: set_gamespeed_to 1.0 //float &43845 = 0 // G = INT Object.Destroy(&43833)&43841 = 1 // G = INT &43829 = 0 // G = INT &43837 = 0 // G = INT fade 500 1 wait 10000 jump @DRUNK_105 :DRUNK_546if &43845 == 0 // G == INT jf @DRUNK_473 04ED: load_animation "SMOKING" Model.Load(#CIGAR)&43845 = 1 // G = INT if &43825 == 1 // G == INT jf @DRUNK_616 &43825 = 0 // G = INT Object.Destroy(&43821):DRUNK_616wait 500 Actor.StorePos($PLAYER_ACTOR, &43817, &43813, &43809)#CIGAR = Object.Create(&43817, &43813, &43809, &43833)070A: set_actor $PLAYER_ACTOR attach_objectA &43833 with_offset 0.04 0.1 0.05 on_bone 6 mode 16 perform_animation "NULL" file "NULL" timelimit -1 &43829 = 1 // G = INT fade 500 1 jump @DRUNK_105 :DRUNK_713if &43845 == 1 // G == INT jf @DRUNK_252 if and &43841 == 0 // G == INT &43825 == 0 // G == INT &43845 == 1 // G == INT jf @DRUNK_811 if or not $PLAYER_CHAR == 255 // L == INT not $PLAYER_CHAR == 5 // L == INT jf @DRUNK_811 Player.SetHandlingResponsiveness($PLAYER_CHAR, 5)Player.SetDrunkVisuals($PLAYER_CHAR, 255)015D: set_gamespeed_to 0.75 //float :DRUNK_811if and &43829 == 1 // G == INT &43845 == 1 // G == INT not Actor.Driving($PLAYER_ACTOR)jf @DRUNK_916 if 00E1: is_button_pressed_pad 0 button 15 jf @DRUNK_865 jump @DRUNK_897 :DRUNK_865if or02D8: is_actor $PLAYER_ACTOR currentweapon 0 02D8: is_actor $PLAYER_ACTOR currentweapon 1 jf @DRUNK_897 jump @DRUNK_1090 :DRUNK_897Object.Destroy(&43833)&43829 = 0 // G = INT jump @DRUNK_1090 :DRUNK_916if and &43829 == 0 // G == INT &43845 == 1 // G == INT not Actor.Driving($PLAYER_ACTOR)jf @DRUNK_1090 if or00E1: is_button_pressed_pad 0 button 15 02D8: is_actor $PLAYER_ACTOR currentweapon 0 02D8: is_actor $PLAYER_ACTOR currentweapon 1 jf @DRUNK_1090 if and80E1: not is_button_pressed_pad 0 button 0 80E1: not is_button_pressed_pad 0 button 1 not Actor.Stopped($PLAYER_ACTOR)jf @DRUNK_1012 jump @DRUNK_1090 :DRUNK_1012Actor.StorePos($PLAYER_ACTOR, &43817, &43813, &43809)#CIGAR = Object.Create(&43817, &43813, &43809, &43833)070A: set_actor $PLAYER_ACTOR attach_objectA &43833 with_offset 0.04 0.1 0.05 on_bone 6 mode 16 perform_animation "NULL" file "NULL" timelimit -1 &43829 = 1 // G = INT :DRUNK_1090if or00E1: is_button_pressed_pad 0 button 0 00E1: is_button_pressed_pad 0 button 1 00E1: is_button_pressed_pad 0 button 15 00E1: is_button_pressed_pad 0 button 17 00E1: is_button_pressed_pad 0 button 14 00E1: is_button_pressed_pad 0 button 18 jf @DRUNK_1225 if Actor.Animation($PLAYER_ACTOR) == "SMKCIG_PRTL"jf @DRUNK_1225 if not Actor.Driving($PLAYER_ACTOR)jf @DRUNK_1225 0605: set_actor $PLAYER_ACTOR perform_animation "PRTIAL_GNGTLKC" file "GANGS" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 1 //versionA :DRUNK_1225if and047A: is_actor $PLAYER_ACTOR driving_a_motorbike not Actor.Stopped($PLAYER_ACTOR) Actor.Animation($PLAYER_ACTOR) == "SMKCIG_PRTL"jf @DRUNK_1307 0605: set_actor $PLAYER_ACTOR perform_animation "PRTIAL_GNGTLKC" file "GANGS" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 1 //versionA :DRUNK_1307if and Actor.Driving($PLAYER_ACTOR) &43829 == 0 // G == INT &43845 == 1 // G == INT 80E1: not is_button_pressed_pad 0 button 17 80E1: not is_button_pressed_pad 0 button 5 80E1: not is_button_pressed_pad 0 button 7 jf @DRUNK_1433 Actor.StorePos($PLAYER_ACTOR, &43817, &43813, &43809)#CIGAR = Object.Create(&43817, &43813, &43809, &43833)070A: set_actor $PLAYER_ACTOR attach_objectA &43833 with_offset 0.04 0.1 0.05 on_bone 6 mode 16 perform_animation "NULL" file "NULL" timelimit -1 &43829 = 1 // G = INT :DRUNK_1433if and Actor.Driving($PLAYER_ACTOR) &43829 == 1 // G == INT &43845 == 1 // G == INT jf @DRUNK_252 if or00E1: is_button_pressed_pad 0 button 17 00E1: is_button_pressed_pad 0 button 5 00E1: is_button_pressed_pad 0 button 7 jf @DRUNK_252 0605: set_actor $PLAYER_ACTOR perform_animation "PRTIAL_GNGTLKC" file "GANGS" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 1 //versionA Object.Destroy(&43833)&43829 = 0 // G = INT jump @DRUNK_252 :SMOKEthread 'SMOKE' :SMOKE_11&43805 = 0 // G = INT wait 250 &43801 = 15 // G = INT &43797 = 20 // G = INT :SMOKE_37if not Actor.Driving($PLAYER_ACTOR)jf @SMOKE_78 if or02D8: is_actor $PLAYER_ACTOR currentweapon 0 02D8: is_actor $PLAYER_ACTOR currentweapon 1 jf @SMOKE_11 :SMOKE_78if or Actor.Stopped($PLAYER_ACTOR) Actor.Driving($PLAYER_ACTOR)jf @SMOKE_11 wait 250 &43805 += 1 // G += INT if not &43801 == 15 // G == INT jf @SMOKE_136 &43801 += 1 // G += INT :SMOKE_136if not &43797 == 20 // G == INT jf @SMOKE_161 &43797 += 1 // G += INT :SMOKE_161if or &43805 >= 10 // L > FLOAT Actor.Driving($PLAYER_ACTOR)jf @SMOKE_37 if &43845 == 1 // G == INT jf @SMOKE_720 if Actor.Animation($PLAYER_ACTOR) == "SMKCIG_PRTL"jf @SMOKE_423 0613: get_actor $PLAYER_ACTOR animation "SMKCIG_PRTL" progress_to [email protected] if and [email protected] >= 0.4 // L > FLOAT 0.7 > [email protected] // FLOAT > L jf @SMOKE_331 064C: play_FxSystem [email protected] 0669: create_FxSystem "EXHALE" attached_to_actor $PLAYER_ACTOR offset 0.0 0.0 0.0 unknown 1 handle_as [email protected] 0883: attach_FxSystem [email protected] to_actor $PLAYER_ACTOR mode 5 :SMOKE_331if Actor.Animation($PLAYER_ACTOR) == "SMKCIG_PRTL"jf @SMOKE_423 0613: get_actor $PLAYER_ACTOR animation "SMKCIG_PRTL" progress_to [email protected] if [email protected] >= 0.7 // L > FLOAT jf @SMOKE_407 0650: delete_FxSystem [email protected] emitter :SMOKE_407if Actor.Driving($PLAYER_ACTOR)jf @SMOKE_37 :SMOKE_423if and Actor.Driving($PLAYER_ACTOR) not Actor.Stopped($PLAYER_ACTOR)847A: not is_actor $PLAYER_ACTOR driving_a_motorbike &43829 == 1 // G == INT &43801 == 15 // G == INT 80E1: not is_button_pressed_pad 0 button 17 80E1: not is_button_pressed_pad 0 button 5 80E1: not is_button_pressed_pad 0 button 7 jf @SMOKE_534 0605: set_actor $PLAYER_ACTOR perform_animation "SMOKE_IN_CAR" file "PED" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 0 //versionA &43801 = 0 // G = INT jump @SMOKE_37 :SMOKE_534if and Actor.Driving($PLAYER_ACTOR) Actor.Stopped($PLAYER_ACTOR) &43829 == 1 // G == INT 80E1: not is_button_pressed_pad 0 button 17 80E1: not is_button_pressed_pad 0 button 5 80E1: not is_button_pressed_pad 0 button 7 jf @SMOKE_627 0605: set_actor $PLAYER_ACTOR perform_animation "SMKCIG_PRTL" file "GANGS" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 0 //versionA jump @SMOKE_37 :SMOKE_627if and not Actor.Driving($PLAYER_ACTOR) Actor.Stopped($PLAYER_ACTOR)80E1: not is_button_pressed_pad 0 button 17 80E1: not is_button_pressed_pad 0 button 5 80E1: not is_button_pressed_pad 0 button 7 &43829 == 1 // G == INT jf @SMOKE_37 0605: set_actor $PLAYER_ACTOR perform_animation "SMKCIG_PRTL" file "GANGS" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 0 //versionA jump @SMOKE_37 :SMOKE_720if and &43825 == 1 // G == INT &43793 == 1 // G == INT not Actor.Animation($PLAYER_ACTOR) == "DRNKBR_PRTL"847A: not is_actor $PLAYER_ACTOR driving_a_motorbike &43797 == 20 // G == INT 80E1: not is_button_pressed_pad 0 button 17 80E1: not is_button_pressed_pad 0 button 5 80E1: not is_button_pressed_pad 0 button 7 jf @SMOKE_37 0605: set_actor $PLAYER_ACTOR perform_animation "DRNKBR_PRTL" file "GANGS" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 0 //versionA &43797 = 0 // G = INT jump @SMOKE_37 :DRINKthread 'DRINK' 04ED: load_animation "GANGS" Model.Load(#KB_BEER)Model.Load(#CJ_BEAR_BOTTLE)&43825 = 0 // G = INT [email protected] = 1 // L = INT [email protected] = 1 // L = INT &43837 = 0 // G = INT :DRINK_57#KB_BEER = Pickup.Create(3, 2251.814, -1255.919, 25.45161, [email protected])#KB_BEER = Pickup.Create(3, 2450.654, -1710.004, 13.56381, [email protected])#KB_BEER = Pickup.Create(3, 499.9867, -76.86562, 999.6047, [email protected])#CJ_BEAR_BOTTLE = Pickup.Create(3, 2254.729, -1254.212, 25.45676, [email protected])#CJ_BEAR_BOTTLE = Pickup.Create(3, 2450.213, -1716.74, 13.6833, [email protected])#CJ_BEAR_BOTTLE = Pickup.Create(3, 499.0795, -73.34201, 998.7578, [email protected]):DRINK_204wait 500 if or Pickup.Picked_up([email protected]) Pickup.Picked_up([email protected]) Pickup.Picked_up([email protected])jf @DRINK_276 Pickup.Destroy([email protected])Pickup.Destroy([email protected])Pickup.Destroy([email protected])&43837 = 2 // G = INT fade 500 0 wait 1000 jump @DRINK_386 :DRINK_276if or Pickup.Picked_up([email protected]) Pickup.Picked_up([email protected]) Pickup.Picked_up([email protected])jf @DRINK_704 Pickup.Destroy([email protected])Pickup.Destroy([email protected])Pickup.Destroy([email protected])&43837 = 1 // G = INT fade 500 0 wait 1000 [email protected] = -389 // L = INT [email protected] = 0 // L = INT [email protected] = 0 // L = INT Player.SetHandlingResponsiveness($PLAYER_CHAR, 1)Player.SetDrunkVisuals($PLAYER_CHAR, 0)015D: set_gamespeed_to 1.0 //float jump @DRINK_553 :DRINK_386if &43825 == 0 // G == INT jf @DRINK_455 Player.SetHandlingResponsiveness($PLAYER_CHAR, 5)Player.SetDrunkVisuals($PLAYER_CHAR, 255)015D: set_gamespeed_to 1.0 //float [email protected] = -389 // L = INT [email protected] = 0 // L = INT [email protected] = 0 // L = INT jump @DRINK_553 :DRINK_455if &43825 == 1 // G == INT jf @DRINK_204 &43825 = 0 // G = INT Object.Destroy(&43821)&43837 = 0 // G = INT &43793 = 0 // G = INT Player.SetHandlingResponsiveness($PLAYER_CHAR, 1)Player.SetDrunkVisuals($PLAYER_CHAR, 0)015D: set_gamespeed_to 1.0 //float [email protected] = 1 // L = INT [email protected] = 1 // L = INT fade 500 1 wait 10000 jump @DRINK_57 :DRINK_553if &43825 == 0 // G == INT jf @DRINK_455 &43825 = 1 // G = INT &43845 = 0 // G = INT 04C4: get_actor $PLAYER_ACTOR position_3D_coord_with_offset 0.0 0.0 0.0 store_to &43817 &43813 &43809 [email protected] = Object.Create(&43817, &43813, &43809, &43821)Object.Angle(&43821) = 90.0035D: set_object &43821 targetable 1 &43793 = 1 // G = INT 070A: set_actor $PLAYER_ACTOR attach_objectA &43821 with_offset [email protected] [email protected] [email protected] on_bone 6 mode 16 perform_animation "NULL" file "NULL" timelimit -1 fade 500 1 jump @DRINK_57 :DRINK_704if &43825 == 1 // G == INT jf @DRINK_204 if and &43837 == 2 // G == INT &43845 == 0 // G == INT &43825 == 1 // G == INT jf @DRINK_795 if or not $PLAYER_CHAR == 255 // L == INT not $PLAYER_CHAR == 5 // L == INT jf @DRINK_795 Player.SetHandlingResponsiveness($PLAYER_CHAR, 5)Player.SetDrunkVisuals($PLAYER_CHAR, 255):DRINK_795if and &43793 == 1 // G == INT &43825 == 1 // G == INT not Actor.Driving($PLAYER_ACTOR)jf @DRINK_900 if 00E1: is_button_pressed_pad 0 button 15 jf @DRINK_849 jump @DRINK_881 :DRINK_849if or02D8: is_actor $PLAYER_ACTOR currentweapon 0 02D8: is_actor $PLAYER_ACTOR currentweapon 1 jf @DRINK_881 jump @DRINK_1095 :DRINK_881Object.Destroy(&43821)&43793 = 0 // G = INT jump @DRINK_1095 :DRINK_900if and &43793 == 0 // G == INT &43825 == 1 // G == INT not Actor.Driving($PLAYER_ACTOR)jf @DRINK_1095 if or00E1: is_button_pressed_pad 0 button 15 02D8: is_actor $PLAYER_ACTOR currentweapon 0 02D8: is_actor $PLAYER_ACTOR currentweapon 1 jf @DRINK_1095 if and80E1: not is_button_pressed_pad 0 button 0 80E1: not is_button_pressed_pad 0 button 1 not Actor.Stopped($PLAYER_ACTOR)jf @DRINK_996 jump @DRINK_1095 :DRINK_996if &43825 == 1 // G == INT 04C4: get_actor $PLAYER_ACTOR position_3D_coord_with_offset 0.0 0.0 0.0 store_to &43817 &43813 &43809 [email protected] = Object.Create(&43817, &43813, &43809, &43821)070A: set_actor $PLAYER_ACTOR attach_objectA &43821 with_offset [email protected] [email protected] [email protected] on_bone 6 mode 16 perform_animation "NULL" file "NULL" timelimit -1 &43793 = 1 // G = INT :DRINK_1095if or00E1: is_button_pressed_pad 0 button 0 00E1: is_button_pressed_pad 0 button 1 00E1: is_button_pressed_pad 0 button 15 00E1: is_button_pressed_pad 0 button 17 00E1: is_button_pressed_pad 0 button 14 00E1: is_button_pressed_pad 0 button 18 jf @DRINK_1219 if and Actor.Animation($PLAYER_ACTOR) == "DRNKBR_PRTL" not Actor.Driving($PLAYER_ACTOR)jf @DRINK_1219 0605: set_actor $PLAYER_ACTOR perform_animation "PRTIAL_GNGTLKC" file "GANGS" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 1 //versionA :DRINK_1219if and Actor.Driving($PLAYER_ACTOR) &43793 == 0 // G == INT &43825 == 1 // G == INT 80E1: not is_button_pressed_pad 0 button 17 80E1: not is_button_pressed_pad 0 button 5 80E1: not is_button_pressed_pad 0 button 7 jf @DRINK_1355 04C4: get_actor $PLAYER_ACTOR position_3D_coord_with_offset 0.0 0.0 0.0 store_to &43817 &43813 &43809 [email protected] = Object.Create(&43817, &43813, &43809, &43821)070A: set_actor $PLAYER_ACTOR attach_objectA &43821 with_offset [email protected] [email protected] [email protected] on_bone 6 mode 16 perform_animation "NULL" file "NULL" timelimit -1 &43793 = 1 // G = INT :DRINK_1355if and Actor.Driving($PLAYER_ACTOR) &43793 == 1 // G == INT &43825 == 1 // G == INT jf @DRINK_204 if or00E1: is_button_pressed_pad 0 button 17 00E1: is_button_pressed_pad 0 button 5 00E1: is_button_pressed_pad 0 button 7 jf @DRINK_204 0605: set_actor $PLAYER_ACTOR perform_animation "PRTIAL_GNGTLKC" file "GANGS" 1.0 loop 0 lockX 0 lockY 0 lockF 0 timelimit 1 //versionA Object.Destroy(&43821)&43793 = 0 // G = INT jump @DRINK_204 Sorry everybody for my very long post. //EDIT: The speed limit mod works only with the CLEO script (I think). Bye Bye Edited September 21, 2007 by Wesser 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment Share on other sites More sharing options...
lildee Posted September 20, 2007 Author Share Posted September 20, 2007 Thanks man but do i have to create a thread for speed limit ? Link to comment Share on other sites More sharing options...
FANGTA Posted September 20, 2007 Share Posted September 20, 2007 Thanks man but do i have to create a thread for speed limit ? you can use the cleo library to add this thread i use the cleo library and it works great. wesser i have some question for you maybe i can use your speed limit to my mod?? sure i make a credits with thanks for you;) Link to comment Share on other sites More sharing options...
lildee Posted September 20, 2007 Author Share Posted September 20, 2007 I have try to compile with create_thread ££LIMIT but can't compile while true don't work what is the problem ? Link to comment Share on other sites More sharing options...
FANGTA Posted September 20, 2007 Share Posted September 20, 2007 I have try to compile with create_thread ££LIMIT but can't compile while true don't work what is the problem ? lillee maybe i send you the cs file which i make?? I test it its work. You paste worng the limit thread in the main of the scm and its dont work. Link to comment Share on other sites More sharing options...
lildee Posted September 20, 2007 Author Share Posted September 20, 2007 Thanks yeah if you send it thats cool thanks what is the cs file because i don't want to losa my main because i have some verrry good mods Link to comment Share on other sites More sharing options...
Wesser Posted September 20, 2007 Share Posted September 20, 2007 Hi, Thanks man but do i have to create a thread for speed limit ? Yes. You must create a thread to start and play with the thread. wesser i have some question for you maybe i can use your speed limit to my mod?? sure i make a credits with thanks for you No problems. But I'm not the author of the thread. It has been created from @Seemann! You should give the credits to him. I have try to compile with create_thread ££LIMIT but can't compile while true don't work what is the problem ? You must compile the thread with Sanny Builder version 2.99 or highest. Bye Bye 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment Share on other sites More sharing options...
FANGTA Posted September 21, 2007 Share Posted September 21, 2007 Thanks yeah if you send it thats cool thanks what is the cs file because i don't want to losa my main because i have some verrry good mods the cs file is the custom script file which used in the cleo library who make the seemann(when you add the thread into the cleo library you dont must start new game you can load a saved game:)) i can send you the cleo library with the limit.cs file. I wait for your answer;) Link to comment Share on other sites More sharing options...
Wesser Posted September 21, 2007 Share Posted September 21, 2007 Hi Ok, I have tested the new version of the speed limit mod in my main.scm and it crash (because with the CLEO script the thread is external without the create thread function). Now I have convert it to SB syntax and it works correctly. create_thread @LIMIT ...............:LIMITthread 'LIMIT' :LIMIT_11wait 0 if Player.Defined($PLAYER_CHAR)jf @LIMIT_165 080E: get_actor $PLAYER_ACTOR ped_event_to $11060 if $11060 == 72 // G == INT jf @LIMIT_165 if Actor.Driving($PLAYER_ACTOR)jf @LIMIT_86 03C0: get_actor $PLAYER_ACTOR vehicle_handle_to $11061 //class B 02E3: get_vehicle $11061 speed_to $11062 if $11062 > 30.0 // G > FLOAT jf @LIMIT_165 if 0154: is_actor $PLAYER_ACTOR in_zone 'SAN_AND' // 8-byte strings // San Andreasjf @LIMIT_165 if or0154: is_actor $PLAYER_ACTOR in_zone 'SF' // 8-byte strings // San Fierro0154: is_actor $PLAYER_ACTOR in_zone 'LA' // 8-byte strings // Los Santos0154: is_actor $PLAYER_ACTOR in_zone 'VE' // 8-byte strings // Las Venturasjf @LIMIT_165 $PLAYER_CHAR = Player.WantedLevel([email protected])if not Player.WantedLevel($PLAYER_CHAR) > 1jf @LIMIT_165 [email protected] += 1 // L += INT Player.WantedLevel($PLAYER_CHAR) = [email protected] @LIMIT_165 :LIMIT_860470: get_actor $PLAYER_ACTOR current_weapon_to $11063 if and $11063 >= 16 // L >= INT not $11063 >= 40 // L >= INT jf @LIMIT_165 $PLAYER_CHAR = Player.WantedLevel([email protected])if not Player.WantedLevel($PLAYER_CHAR) > 1jf @LIMIT_165 [email protected] += 1 // L += INT Player.WantedLevel($PLAYER_CHAR) = [email protected]:LIMIT_165jump @LIMIT_11 Bye Bye 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment Share on other sites More sharing options...
Pointblank651 Posted September 27, 2007 Share Posted September 27, 2007 Is there anyway i can get these codes for SAMB? 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