IsObjectShotReportEnabled

From NPC for VCMP 0.4 Servers
Revision as of 09:20, 12 November 2023 by Habi (talk | contribs) (Created page with "{{Welcome|desc=Tells whether Shot Report is enabled for a particular object.| params=<source>( objectId )</source> <poem>objectId : The ID of the object whose property is to be checked. </poem>| example=<source lang="lua"> if( IsObjectShotReportEnabled( objectId ) ) { ClaimObjectShot( objectId, 17 ); //17 is weapon. } </source>| relfuncs=*ClaimObjectShot *IsObjectTouchReportEnabled }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
Tells whether Shot Report is enabled for a particular object.


Parameters:

( objectId )

objectId : The ID of the object whose property is to be checked.


Return Values:
This function does not return any specific values.


Example

if( IsObjectShotReportEnabled( objectId ) )
{
ClaimObjectShot( objectId, 17 ); //17 is weapon.
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.