Author Topic: spawnprojectile not knockingback.  (Read 1165 times)

%client.player.spawnProjectile(-10*%x, rocketLauncherProjectile, %client.player.getEyeVector*-1, 1);
Using this, I spawn a projectile, but it doesn't knockback people while in a minigame. What is the issue? (%x is defined. ignore that)

What do you mean, "knockback"? Do you mean when it hits something, it has no radius impulse? Or do you mean it doesn't push them back when it's fired?

What do you mean, "knockback"? Do you mean when it hits something, it has no radius impulse? Or do you mean it doesn't push them back when it's fired?
The radius impulse refuses to do anything. It works like if you're not in a minigame.

Do you have "Radius Damage" enabled in your minigame?

Do you have "Radius Damage" enabled in your minigame?
You can disable it..?
Anyways it works if a rocketlauncher spawns the rocket, but not if a player directly does.

Add %client as the last argument

Add %client as the last argument
thanks! this resolved the issue