Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
No, you cannot force a player to physically shoot a bullet/throw a projectile. You can however create a system whereby an animation is played, an object is created and moved, and an explosion is created.
Posts: 1,915
Threads: 64
Joined: Jan 2016
Reputation:
0
Alright. There is a way to detect if a player throw a grenade, molotov, etc ..?
OnPlayerWeaponShot isn't called. /:
EDIT: Nvm, I can do it with KEYS but I can't get coordinates of the thrown grenade or molotov. '-'
Posts: 176
Threads: 26
Joined: Jun 2016
Reputation:
0
Its not possible u cant force a player.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
What are you asking? It isn't possible. Are you asking how to get the coordinates of a thrown projectile? Again, you can't accurately. You can do it by scripting your own system, but seeing as players can hold the mouse button to throw it further, there's no real way to do this.
One possible option is detect when the player holds and then releases the fire button. Then there's the annoyance of distance per duration held etc...
Posts: 1,915
Threads: 64
Joined: Jan 2016
Reputation:
0
Alright ! Thanks you !
Another question (yea, I know I'm pretty annoying). There is a "simple" way to detect colision without include, plugins or stuff like that?