Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO .cs}
- //-------------MAIN------------------
- // Fire Shield by ADVDI
- // Codes are free. Use as you want :P
- //-----------------------------------
- // Attention | BUGS
- //-----------------
- // if you entered a vehicle, the fire still exist. Looks weird especially when you drive a car
- //--------------------------------------------------------------------------------------------
- thread 'FSHIELD'
- :FSHIELD_11
- wait 0
- if
- Player.Defined($PLAYER_CHAR)
- else_jump @FSHIELD_11
- 0ADC: test_cheat "FSHIELD" // type 'fshield' to activate this mod
- else_jump @FSHIELD_11
- 04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0
- jump @FSHIELD_83
- :FSHIELD_83
- wait 0
- if
- Actor.SetImmunities($PLAYER_ACTOR, 1, 1, 1, 1, 1)
- 020C: create_explosion_with_radius 0 at 1@ 2@ 3@
- 0669: 9@ = attach_particle "FLAME" to_actor $PLAYER_ACTOR with_offset 0.0 1.0 -0.75 flag 1
- 0669: 10@ = attach_particle "FLAME" to_actor $PLAYER_ACTOR with_offset 0.75 0.75 -0.75 flag 1
- 0669: 11@ = attach_particle "FLAME" to_actor $PLAYER_ACTOR with_offset 1.0 0.0 -0.75 flag 1
- 0669: 12@ = attach_particle "FLAME" to_actor $PLAYER_ACTOR with_offset 0.75 -0.75 -0.75 flag 1
- 0669: 13@ = attach_particle "FLAME" to_actor $PLAYER_ACTOR with_offset 0.0 -1.0 -0.75 flag 1
- 0669: 14@ = attach_particle "FLAME" to_actor $PLAYER_ACTOR with_offset -0.75 -0.75 -0.75 flag 1
- 0669: 15@ = attach_particle "FLAME" to_actor $PLAYER_ACTOR with_offset -1.0 0.0 -0.75 flag 1
- 0669: 16@ = attach_particle "FLAME" to_actor $PLAYER_ACTOR with_offset -0.75 0.75 -0.75 flag 1
- 064C: make_particle 9@ visible
- 064C: make_particle 10@ visible
- 064C: make_particle 11@ visible
- 064C: make_particle 12@ visible
- 064C: make_particle 13@ visible
- 064C: make_particle 14@ visible
- 064C: make_particle 15@ visible
- 064C: make_particle 16@ visible
- :FSHIELD_415
- wait 0
- 04C4: store_coords_to 4@ 5@ 6@ from_actor $PLAYER_ACTOR with_offset 0.0 1.0 -1.0
- if
- Player.Defined($PLAYER_CHAR)
- else_jump @FSHIELD_415
- 00E1: player 0 pressed_key 17 // press [fire key] to create an explosion in front of player
- else_jump @FSHIELD_415
- 020C: create_explosion_with_radius 0 at 4@ 5@ 6@
- wait 0
- jump @FSHIELD_501
- :FSHIELD_501
- wait 0
- 04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0
- if
- 0ADC: test_cheat "disable" // type "disable" to deactivate this mod
- else_jump @FSHIELD_415
- 0650: destroy_particle 9@
- 0650: destroy_particle 10@
- 0650: destroy_particle 11@
- 0650: destroy_particle 12@
- 0650: destroy_particle 13@
- 0650: destroy_particle 14@
- 0650: destroy_particle 15@
- 0650: destroy_particle 16@
- 020C: create_explosion_with_radius 0 at 1@ 2@ 3@
- Actor.SetImmunities($PLAYER_ACTOR, 0, 0, 0, 0, 0)
- wait 250
- jump @FSHIELD_11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement