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
Sun Mar 04, 2012 2:28 am by lavivi

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

» Mission Question
Thu Oct 14, 2010 1:02 am by findmy012

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

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

» Bc7 Mod Help
Fri Aug 20, 2010 11:19 am by pengpeng

» Found a bug
Fri Dec 18, 2009 4:22 am by _CJ360_

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

» Hello/Guidance Request
Mon 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



December 2016
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 

Calendar Calendar


You are not connected. Please login or register

Some questions

View previous topic View next topic Go down  Message [Page 1 of 1]

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

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?

View user profile

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

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.

View user profile http://gtamodding.com

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

Спасибо! - 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?

View user profile

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

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

View user profile http://gtamodding.com

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

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

Thanks for that... Good

View user profile

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

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

View user profile http://gtamodding.com

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

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

View user profile

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

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

View user profile http://gtamodding.com

9 Re: Some questions Today at 10:32 pm

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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