Advertisement
Archley

nunca morir dentro de vehiculo al explotar gta sa - samp

Sep 24th, 2020
2,967
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
E 2.80 KB | None | 0 0
  1. {$CLEO .cs}
  2.  
  3. 0000:
  4.  
  5.  
  6. WHILE TRUE
  7. wait 0
  8. if actor.Driving($PLAYER_ACTOR)
  9. then 1@ = actor.CurrentCar($PLAYER_ACTOR)
  10.    IF 056E:   car 1@ defined
  11.    THEN
  12.       if 0495:   car 1@ burning                                                                                                                                
  13.       then                                                                                                                                                      
  14.             WHILE 80E1:   player 0 pressed_key 15                                                                                                              
  15.                  WAIT 0                                                                                                                                        
  16.                 0812: AS_actor $PLAYER_ACTOR perform_animation "CAR_Lsit" IFP "PED" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time -1                      
  17.             END                                                                                                                                                
  18.                                                                                                                      
  19.                                                                                                          
  20.             0633: AS_actor $PLAYER_ACTOR exit_car
  21.             0687: clear_actor $PLAYER_ACTOR task                                                                                                                    
  22.        END                                                                                                                                                      
  23.    END
  24. END
  25. END
  26.  
  27.  
  28.  
  29. 04ED: load_animation "CAR"
  30. model.Load(#LAPD1)
  31. 038B: load_requested_models
  32.  
  33.  
  34. while true
  35.    wait 0
  36.    {
  37.    Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
  38.    3@ += 1.0
  39.    5@ = actor.Create(cop,#lapd1 ,1@,2@,3@)
  40.    0337: set_actor 5@ visibility 0
  41.    Actor.SetImmunities(5@, 1, 1, 1, 1, 1)
  42.    7@ = object.Create(#gun_vibe2,1@,2@,3@)
  43.    0750: set_object 7@ visibility 1
  44.    0619: enable_actor $PLAYER_ACTOR collision_detection 0
  45.    Object.CollisionDetection(7@) = false
  46.     }
  47.  
  48.    while true
  49.    wait 0
  50.   // 9@ = actor.Angle(5@)
  51.    //actor.Angle($PLAYER_ACTOR) = 9@
  52.    //069B: attach_object 7@ to_actor 5@ with_offset 0.1 0.1 0.2 rotation 0.0 0.0 9@
  53.    //04F4: put_actor $PLAYER_ACTOR into_turret_on_object 7@ offset_from_object_origin 0.0 0.0 -0.2 orientation 0 both_side_angle_limit 9@ lock_weapon 0
  54.     ///0812: AS_actor $PLAYER_ACTOR perform_animation "DANCE_LOOP" "DANCING" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 500
  55.            
  56.     //05DE: AS_actor 5@ walk_around_ped_path
  57.     IF 0AB0: 52
  58.     THEN
  59.  
  60.     END_THREAD
  61.     END
  62.    end
  63.    
  64.    
  65.    
  66.    
  67. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement