Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- with(instance_create(muzzle_x, muzzle_y, obj_rd_5_56_45mm_0))
- {
- direction = other.angle[0];
- speed = 0;
- }
- //
- with(instance_create(ejectionport_x, ejectionport_y, obj_rd_5_56_45mm_0_shell))
- {
- direction = other.angle[0]-90+random(20-+random(20));
- speed = 2+random(2);
- }
- //
- with(instance_create(muzzle_x, muzzle_y, obj_ar_m16a2_0_mflash))
- {
- direction = other.angle[0];
- speed = 0;
- }
- //
- with(instance_create(muzzle_x, muzzle_y, obj_snd_ar_m16a2_0_fire))
- {
- direction = other.angle[0];
- speed = 0;
- }
- //
- recoil = recoil+10;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement