Deezire's CBO

    Compartilhe
    avatar
    crspo2020
    Mensagens Nível 1
    Mensagens Nível 1

    Título : Crspy
    Mensagens : 33
    Reputação : 6
    Desde : 03/07/2015
    Idade : 19
    Localização : Egypt

    Deezire's CBO

    Mensagem por crspo2020 em Ter 11 Jul 2017, 20:32

    Since Cop Bikers Overhaul is actually broken as everyone have complained on gtaforums and even silent himself stated that it's broken ..... so i noticed that Deezire's Fix  ( which is  'COPBIKE' thread inside the main.scm of TTDISA , i turned it into a cleo script )   is much simple and Perfect that it doesn't cause any problems  (  i used it for weeks  played the whole storyline with it and finished the game , no problems at all )

    This Cleo script  fixes  Desert Sheriff & Country Sheriff appearance  +  The Cop bikers of each city.

    Código:

    {$CLEO .cs}

    //-------------MAIN---------------
    0000: NOP
    thread 'COPBIKE'

    :COPBIKE_13
    wait 500
      5@ == 0
    else_jump @COPBIKE_55
    04AE: 0@ = 284 // = constant
    04AE: 2@ = 497 // = constant
    1@ = 0

    :COPBIKE_55
       Player.Defined($PLAYER_CHAR)
    else_jump @COPBIKE_465
    if and
    0154:   actor $PLAYER_ACTOR in_zone 'SF'  // San Fierro
       not 5@ == 1
    else_jump @COPBIKE_125
    Model.Destroy(0@)
    04AE: 0@ = 272 // = constant
    gosub @COPBIKE_472
    5@ = 1

    :COPBIKE_125
       Player.Defined($PLAYER_CHAR)
    else_jump @COPBIKE_465
    if and
    0154:   actor $PLAYER_ACTOR in_zone 'VE'  // Las Venturas
       not 5@ == 2
    else_jump @COPBIKE_196
    Model.Destroy(0@)
    04AE: 0@ = 273 // = constant
    gosub @COPBIKE_472
    5@ = 2

    :COPBIKE_196
       Player.Defined($PLAYER_CHAR)
    else_jump @COPBIKE_465
    if and
    0154:   actor $PLAYER_ACTOR in_zone 'LA'  // Los Santos
       not 5@ == 5
    else_jump @COPBIKE_267
    Model.Destroy(0@)
    04AE: 0@ = 284 // = constant
    gosub @COPBIKE_472
    5@ = 5

    :COPBIKE_267
       Player.Defined($PLAYER_CHAR)
    else_jump @COPBIKE_465
    if or
    0154:   actor $PLAYER_ACTOR in_zone 'ROBAD'  // Tierra Robada
    0154:   actor $PLAYER_ACTOR in_zone 'BONE'  // Bone County
    else_jump @COPBIKE_359
       not 5@ == 3
    else_jump @COPBIKE_359
    Model.Destroy(0@)
    04AE: 0@ = 288 // = constant
    gosub @COPBIKE_538
    5@ = 3

    :COPBIKE_359
       Player.Defined($PLAYER_CHAR)
    else_jump @COPBIKE_465
    if or
    0154:   actor $PLAYER_ACTOR in_zone 'RED'  // Red County
    0154:   actor $PLAYER_ACTOR in_zone 'FLINTC'  // Flint County
    0154:   actor $PLAYER_ACTOR in_zone 'WHET'  // Whetstone
    else_jump @COPBIKE_465
       not 5@ == 4
    else_jump @COPBIKE_465
    Model.Destroy(0@)
    04AE: 0@ = 283 // = constant
    gosub @COPBIKE_538
    5@ = 4

    :COPBIKE_465
    jump @COPBIKE_13

    :COPBIKE_472
    072C: generate_police_bikes 0
    Model.Load(0@)

    :COPBIKE_481
       not Model.Available(0@)
    else_jump @COPBIKE_504
    wait 0
    jump @COPBIKE_481

    :COPBIKE_504
    0A8C: write_memory 9067184 size 4 value 0@ virtual_protect 0
    0A8C: write_memory 6151558 size 4 value 0@ virtual_protect 0
    072C: generate_police_bikes 1
    return

    :COPBIKE_538
    Model.Load(0@)

    :COPBIKE_543
       not Model.Available(0@)
    else_jump @COPBIKE_566
    wait 0
    jump @COPBIKE_543

    :COPBIKE_566
    0A8C: write_memory 9067168 size 4 value 0@ virtual_protect 0
    0A8C: write_memory 6151760 size 4 value 0@ virtual_protect 0
    return
    end_thread


    Download Link : https://drive.google.com/open?id=0BztNk10xptkdYlJOajY4TndiRjA


    Última edição por crspo2020 em Ter 11 Jul 2017, 21:17, editado 2 vez(es)
    avatar
    M. Osborn
    Mensagens Nível 3
    Mensagens Nível 3

    Mensagens : 133
    Reputação : 44
    Desde : 09/09/2016
    Idade : 27

    Re: Deezire's CBO

    Mensagem por M. Osborn em Ter 11 Jul 2017, 20:37

    Awesome! Let's try it.

    [edit] Well, I believe this was not meant to be like this...
    Spoiler:


    Última edição por M. Osborn em Ter 11 Jul 2017, 20:50, editado 1 vez(es)
    avatar
    crspo2020
    Mensagens Nível 1
    Mensagens Nível 1

    Título : Crspy
    Mensagens : 33
    Reputação : 6
    Desde : 03/07/2015
    Idade : 19
    Localização : Egypt

    Re: Deezire's CBO

    Mensagem por crspo2020 em Ter 11 Jul 2017, 20:39

    @M. Osborn escreveu:Awesome! Finally a good fix. Let's try it.

    Download it again , sorry i forgot to put the ped.ide  in the mod.
    avatar
    M. Osborn
    Mensagens Nível 3
    Mensagens Nível 3

    Mensagens : 133
    Reputação : 44
    Desde : 09/09/2016
    Idade : 27

    Re: Deezire's CBO

    Mensagem por M. Osborn em Ter 11 Jul 2017, 21:01

    Download it again , sorry  i forgot to put the ped.ide  in the mod.

    Now it works perfectly! Much obliged, Sir! +
    avatar
    crspo2020
    Mensagens Nível 1
    Mensagens Nível 1

    Título : Crspy
    Mensagens : 33
    Reputação : 6
    Desde : 03/07/2015
    Idade : 19
    Localização : Egypt

    Re: Deezire's CBO

    Mensagem por crspo2020 em Ter 11 Jul 2017, 21:09

    @M. Osborn escreveu:
    Download it again , sorry  i forgot to put the ped.ide  in the mod.

    Now it works perfectly! Much obliged, Sir! +

    Haha thanks , i  LOLed so much at the picture you posted (XD)

    btw , i suggest you set your FPS to 30 .... because higher than that causes very annoying problems in general. i think you already know about that.

    Conteúdo patrocinado

    Re: Deezire's CBO

    Mensagem por Conteúdo patrocinado


      Data/hora atual: Ter 25 Jul 2017, 09:52