Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

kamikaze mod


roby65
 Share

Recommended Posts

i made a mod that pressing a key, the car explode after 3 seconds, but i want to make that starts a countdown when the car is going to blow, how can i make it??

Link to comment
Share on other sites

Hi!

 

i made a mod that pressing a key, the car explode after 3 seconds, but i want to make that starts a countdown when the car is going to blow, how can i make it??

 

I don't really understand that. Do you want do show e.g. 5,4,3 in your game? Then you must create a new text in your english.gxt (use sagxtedit).

Then use them in Main.scm. For example:

 

 

00BA: text_styled 'M_FAIL'  5000 ms  1 

 

 

M_FAIL must change with the name of your text entry.

 

I hope you understand that...

 

 

 

LMS

Link to comment
Share on other sites

excuse me, i'm italian rolleyes.gif

 

i've done this :

:kamikaze20811: $car_kam = actor $PLAYER_ACTOR car00BA: text_styled 'KAM_03'  1000 ms  1 0001:wait 1000 ms00BA: text_styled 'KAM_02'  1000 ms  1 0001:wait 1000 ms00BA: text_styled 'KAM_01'  1000 ms  1 0001:wait 1000 ms020B: explode_car $car_kam0001:wait 500 ms020B: explode_car $car_kam 0001:wait 500 ms020B: explode_car $car_kam 0001:wait 500 ms020B: explode_car $car_kam 0002: jump ££kamikaze

 

 

but the KAM_03 don't disappear in 1 second but it take much more!!

Link to comment
Share on other sites

0811: $car_kam = actor $PLAYER_ACTOR car0004: $time2 =  5000 ;; integer values014E: set_timer_to $time2 type  100D6: if  00038:   $time2 ==  0 ;; integer values004D: jump_if_false ££Label020B: explode_car $car_kam014F: stop_timer $time201C3: remove_references_to_car $car_kam ;; Like turning a car into any random car

 

Link to comment
Share on other sites

You can do it so too:

 

0811: $car_kam = actor $PLAYER_ACTOR car00BC: text_highpriority 'KAM_03'  1000 ms  1; 30001: wait 1000 ms00BC: text_highpriority 'KAM_02'  1000 ms  1; 20001: wait 1000 ms00BC: text_highpriority 'KAM_01'  1000 ms  1; 10001: wait 1000 ms020B: explode_car $car_kam  0001: wait 500 ms020B: explode_car $car_kam 0001: wait 500 ms020B: explode_car $car_kam 0001: wait 500 ms020B: explode_car $car_kam 01C3: remove_references_to_car $car_kam;; Like turning a car into any random car 0002: jump ££kamikaze

 

 

I tested this and it works.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.