Quantcast

Jump to content

» «
Photo

After I die, how can I use the same current model if I'm in different skin?

4 replies to this topic
skatefilter5
  • skatefilter5

    Controlling Both Players

  • Members
  • Joined: 30 Apr 2016
  • Canada

#1

Posted 4 weeks ago

// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagamin...opcode-database) on 14.6.2013
{$CLEO .cs}
 
//-------------MAIN---------------
0000: NOP 
 
:Noname_2
0001: wait 0 ms 
00D6: if and
8118:   not actor $PLAYER_ACTOR dead 
0ADC:   test_cheat "died" 
004D: jump_if_false @Noname_2 
0ACD: show_text_highpriority "Never Die ~r~ON~w~ for ~r~Player 1~w~." time 3000
02F2:   actor $PLAYER_ACTOR model == $MODEL //Vars are full
 
07DE:   model $MODEL exists  // versionB 
0002: jump @Noname_63 
 
:Noname_63
0001: wait 0 ms 
00D6: if and
023D:   special_actor 10 loaded                            
0118:   actor $PLAYER_ACTOR dead 
004D: jump_if_false @Noname_557 
004D: jump_if_false @Noname_63 
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 
//04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0  
09E8: [email protected] = actor $PLAYER_ACTOR active_interior 
0632: release_group $PLAYER_GROUP 
016A: fade 1 time 300 
0253: save_current_time 
02A3: enable_widescreen 0 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 1 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE1
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 2 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE2 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 3 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE3
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 4 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE4 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 5 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE5 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 6 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE6 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 7 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE7
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 8 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE8 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 9 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE9 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 10 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE10 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 11 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE11  
04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot 12 weapon [email protected] ammo [email protected] model $WEAPON_RESTORE12  
//0974: emulate_wasted_busted // 12 hours and clear weapons 
//00A1: put_actor $PLAYER_ACTOR at [email protected] [email protected] [email protected] 
0172: [email protected] = actor $PLAYER_ACTOR Z_angle 
06DF: destroy_player $PLAYER_CHAR
 $PLAYER_CHAR = Player.Create(0, [email protected], [email protected], [email protected])
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
09C7: change_player $PLAYER_CHAR model_to $MODEL
 
0173: set_actor $PLAYER_ACTOR Z_angle_to [email protected] 
04BB: select_interior [email protected] 
094F: enable_actor $PLAYER_ACTOR pain_audio 
0254: restore_current_time 
0860: link_actor $PLAYER_ACTOR to_interior [email protected] 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon [email protected] ammo [email protected] // Load the weapon model before using this 
0002: jump @Noname_63 
 
:Noname_557
0001: wait 0 ms 
00D6: if 
0ADC:   test_cheat "died" 
004D: jump_if_false @Noname_63 
0ACD: show_text_highpriority "Never Die ~b~OFF~w~ for ~r~Player 1~w~." time 3000 
0002: jump @Noname_2 
 
 
 
0974: emulate_wasted_busted // 12 hours and clear weapons  -- this is a big lag after i die like it almost prevent crashs to the game if i die multiple times (its doesn't work for second player) so I destroy the dead player  and replace a fresh player with no lags. The game crash on me sometimes if it's a long lag.
 
But I need the same current models on peds, even special actors too.
 
 
 

deltaCJ
  • deltaCJ

    Davy Jones' Sock

  • Members
  • Joined: 27 Dec 2013
  • Unknown

#2

Posted 4 weeks ago

I don't understand what you're trying to do.

 

 

"After I die How can I use the Same current model if im in different skin

 

What? 

 

 

this is a big lag after i die like it almost prevent crashs to the game if i die multiple times (its doesn't work for second player) so I destroy the dead player  and replace a fresh player with no lags. The game crash on me sometimes if it's a long lag.

But I need the same current models on peds, even special actors too.

 

 

I don't know what you mean.


skatefilter5
  • skatefilter5

    Controlling Both Players

  • Members
  • Joined: 30 Apr 2016
  • Canada

#3

Posted 4 weeks ago

I don't understand what you're trying to do.

 

 

"After I die How can I use the Same current model if im in different skin

 

What? 

 

 

this is a big lag after i die like it almost prevent crashs to the game if i die multiple times (its doesn't work for second player) so I destroy the dead player  and replace a fresh player with no lags. The game crash on me sometimes if it's a long lag.

But I need the same current models on peds, even special actors too.

 

 

I don't know what you mean.

i was trying to make never die mod like saints row 2 without big lag on death then re-spawned with any current models
 beside at lag 0974: emulate_wasted_busted.


deltaCJ
  • deltaCJ

    Davy Jones' Sock

  • Members
  • Joined: 27 Dec 2013
  • Unknown

#4

Posted 4 weeks ago

if you don't want to die just set your actors immunities.       


skatefilter5
  • skatefilter5

    Controlling Both Players

  • Members
  • Joined: 30 Apr 2016
  • Canada

#5

Posted 4 weeks ago

if you don't want to die just set your actors immunities.       

i already know that but anyways immunities wears off on the player when i open the menus so yeah but the player can still die from car or parachute.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users