OnPlayerWeaponShot (DUDE)
#1

public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{

this work for all weapons ??


if the player shoot with Rocket launcher or grenades Not detected!

PD: i need detect when shoot this weapons WeaponID: 16-17-18 and 35-36-37-38
Reply
#2

OnPlayerWeaponShot only refers to weapons that use bullets. Weapons such as fire extinguisher, rocket launcher etc. will not be called. The only real alternative you can use is to detect when they press or hold Left Mouse Button and track their ammo.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)