OnPlayerWeaponShot - by camera
#6

I doubt the camera triggers this callback. Debug your code!
pawn Код:
if(weaponid == 43 && hittype == BULLET_HIT_TYPE_VEHICLE)
{
    //vehicleid = hitid. Use hitid as vehicleid!
    printf("vehicleid %i was photographed by playerid %i", hitid, playerid); // Check the console if this message pops up!
}
Reply


Messages In This Thread
OnPlayerWeaponShot - by camera - by cnoopers - 23.06.2014, 10:35
Re: OnPlayerWeaponShot - by camera - by RenovanZ - 23.06.2014, 10:40
Re: OnPlayerWeaponShot - by camera - by cnoopers - 23.06.2014, 11:05
Re: OnPlayerWeaponShot - by camera - by RedFusion - 23.06.2014, 11:16
Re: OnPlayerWeaponShot - by camera - by cnoopers - 23.06.2014, 11:32
Re: OnPlayerWeaponShot - by camera - by RedFusion - 23.06.2014, 13:33
Re: OnPlayerWeaponShot - by camera - by cnoopers - 23.06.2014, 14:47

Forum Jump:


Users browsing this thread: 1 Guest(s)