26.04.2018, 13:56
When bullet collides with custom object then OnPlayerWeaponShot isn't called. Is there any fix or workaround?
public OnPlayerWeaponShot(playerid,weaponid,hittype,hitid,Float:fX,Float:fY,Float:fZ) { printf("playerid=%d,weaponid=%d,hittype=%d,hitid=%d,Float:fX=%f,Float:fY=%f,Float:fZ=%f",playerid,weaponid,hittype,hitid,fX,fY,fZ); return 1; }