ro4st Posted November 1, 2021 Share Posted November 1, 2021 I'm modifying an existing mod to simulate a shotgun with Dragon's Breath (incendiary) ammo like in Modern Warfare and it works nice against peds, but i also want to make it able to set cars on fire, and set the ground, wall, or any surface on fire where the shot lands, almost like creating a molotov impact effect with every shot, but i don't know how to do that. Here's the code: {$CLEO .cs} //-------------MAIN--------------- 0000: NOP thread 'PUL' :PUL_35 wait 0 if 02D8: actor $PLAYER_ACTOR current_weapon == 102 else_jump @PUL_35 jump @PUL_71 :PUL_71 wait 0 0AD2: [email protected] = player $PLAYER_CHAR targeted_actor //IF and SET if and 056D: actor [email protected] defined not Actor.Dead([email protected]) else_jump @PUL_35 if 031D: actor [email protected] hit_by_weapon 102 else_jump @PUL_35 0326: [email protected] = create_actor [email protected] fire jump @PUL_89 :PUL_89 wait 2000 02D1: remove_fire [email protected] jump @PUL_35 All credits to its author, старик. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now