GTA: Modification Area
Would you like to react to this message? Create an account in a few clicks or log in to continue.
GTA: Modification Area

A website for the GTA modding scene

Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Big-game starts raising Schneider's profile
Some questions EmptySun Mar 04, 2012 2:28 am by lavivi

» [Help] cleo created lighting
Some questions EmptyThu Oct 14, 2010 1:03 am by findmy012

» Mission Question
Some questions EmptyThu Oct 14, 2010 1:02 am by findmy012

» [IV] Spoiler Script
Some questions EmptyThu Oct 14, 2010 1:02 am by findmy012

» Mission mod [help]
Some questions EmptySat Sep 18, 2010 5:50 pm by jayd00

» Bc7 Mod Help
Some questions EmptyFri Aug 20, 2010 11:19 am by pengpeng

» Found a bug
Some questions EmptyFri Dec 18, 2009 4:22 am by _CJ360_

» [IV] Novitec Rosso 599 GTB
Some questions EmptyTue Nov 17, 2009 4:22 pm by Kotton

» Hello/Guidance Request
Some questions EmptyMon Oct 12, 2009 6:45 am by Adler

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
image

Image

Image

Image

Image

Image

Image

Image

Image

Image

image

Image

steve-m.com

Image


----- Русский -----

Если ваш сайт содержит большую коллекцию SCM/CLEO-скриптов (больше 16), напишите на мой e-mail, и я добавлю его в список. Приветствуются скрипты, которые не встречаются на других сайтах ... Спасибо. ))))


----- English -----

If your website has a big enough collection of SCM/CLEO scripts (more than 16) notify me by e-mail
, and I will add it to the list. The unique scripts are preferable ... Thank you. ))))
Log in

I forgot my password



November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar


You are not connected. Please login or register

Some questions

2 posters

Go down  Message [Page 1 of 1]

1Some questions Empty Some questions Fri Mar 20, 2009 11:22 pm

Alex



Hi Дуэйн and all others. Grin Smile

1: How can I clear the last mission name record?

2: What is the address of Current Mission?

3: Is 038B: load_requested_models is completely a NOP opcode?
I know it's not needed but is it 100% NOP?

2Some questions Empty Re: Some questions Fri Mar 20, 2009 11:31 pm

gtasbigfoot

gtasbigfoot
Admin

1: You can clear it with this code:


Code:

0@ = 0x4BC28
&0(0@,1i) = 0


2: The address is:


Code:

00A7A6A0


3: No. It's NOT 100% NOP, I think it's to see if loaded, and how the game performance changes during this process. Though I may be wrong, I have not looked at 038B's code. Though I think it's a optimization measure for models.

http://gtamodding.com

3Some questions Empty Re: Some questions Sat Mar 21, 2009 6:19 am

Alex



Спасибо! - is there anything you don't know? Wink
- Do you know the addresses of the helli's when you get a 3 star wanted level?

4Some questions Empty Re: Some questions Sat Mar 21, 2009 6:41 am

gtasbigfoot

gtasbigfoot
Admin

Yes. - while ago I write a script to test something here:


Code:

{$CLEO}
0000:

:Drive_01
while true
    wait 250 
    if
      Player.Defined($PLAYER_CHAR)
  then
      if
          010F:  player $PLAYER_CHAR wanted_level > 2
      then
          break
        end
    end
end // "while"


    0A8D: 0@ = read_memory 0x00C1C964 size 4 virtual_protect 0
    gosub @Drive_02
    0A8D: 0@ = read_memory 0x00C1C968 size 4 virtual_protect 0
    gosub @Drive_02 
    jump @Drive_01


:Drive_02
if
    0@ > 0
then
    0A8D: 1@ = read_memory 0x00B74494 size 4 virtual_protect 0
    0AA8: call_function_method 0x00424160 struct 1@ num_params 1 pop 0 0@ 1@

    046C: 2@ = car 1@ driver
    if
        2@ <= 0
    then
       
      if
            Car.Model(1@) == #VCNMAV
        then
           
    repeat
        wait 0                     
            Model.Load(#FBI)
          until Model.Available(#FBI)       
           
            0129: 3@ = create_actor_pedtype 6 model #FBI in_car 1@ driverseat
            01C8: 4@ = create_actor_pedtype 6 model #FBI in_car 1@ passenger_seat 0
            Model.Destroy(#FBI)
           
        else
         
    repeat
        wait 0
            Model.Load(#LAPD1)             
   
            until Model.Available(#LAPD1)       
                 
            0129: 3@ = create_actor_pedtype 6 model #LAPD1 in_car 1@ driverseat
            01C8: 4@ = create_actor_pedtype 6 model #LAPD1 in_car 1@ passenger_seat 0
   
            Model.Destroy(#LAPD1)
        end   
    end     
end 
return  // -- as all gosubs return

http://gtamodding.com

5Some questions Empty Re: Some questions Sun Mar 22, 2009 6:05 am

Alex



Ant you got to be somewhere? NASA..... You better go your going to be late for work.... Wink j/k

Thanks for that... Good

6Some questions Empty Re: Some questions Sun Mar 22, 2009 9:48 am

gtasbigfoot

gtasbigfoot
Admin

Grin Smile No problem. Oh, and BTW I'm doing the Audi Lemans Quattro you can do the Enzo... Tounge 2

http://gtamodding.com

7Some questions Empty Re: Some questions Mon Mar 23, 2009 11:34 am

Alex



gtasbigfoot wrote:Grin Smile No problem. Oh, and BTW I'm doing the Audi Lemans Quattro you can do the Enzo... Tounge 2


K, as long as I get to do the Lamborghini Reventón... Tounge 2

8Some questions Empty Re: Some questions Tue Mar 24, 2009 7:47 am

gtasbigfoot

gtasbigfoot
Admin

Alex wrote:
gtasbigfoot wrote:Grin Smile No problem. Oh, and BTW I'm doing the Audi Lemans Quattro you can do the Enzo... Tounge 2


K, as long as I get to do the Lamborghini Reventón... Tounge 2

You just like it because it looks like Batman's car... Grin Smile

http://gtamodding.com

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum