View Issue Details

IDProjectCategoryView StatusLast Update
0001769Multi Theft Auto : San AndreasScriptingpublic2007-03-14 06:08
ReporterjbetaAssigned ToJax 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAMD Athlon(tm) 64 X2 ~2.2GHzOSWindows XP Professional x64 SP1OS Version5.2, Build 3790
Product Versionblue_sa.r2.a12 
Target VersionFixed in Versionmtasadm_v1.0-dp1 
Summary0001769: onPlayerTarget isn't always triggered when aiming at an element
Description

To make onPlayerTarget work in aiming mode, the player has to shoot first, or else the targeting isn't detected. Tested with players, objects and vehicles.

Additional Information

addEventHandler ( "onPlayerTarget", getRootElement (), "test_onPlayerTarget" )
function test_onPlayerTarget ( element )
outputConsole ( "DEBUG: " .. getClientName ( source ) .. " targeted element '" .. getElementType ( element ) .. "' with '" .. getWeaponNameFromID ( getPlayerWeapon ( source ) ) .. "'." )
else
end

TagsNo tags attached.

Relationships

related to 0001770 closedJax onPlayerTarget is triggered without activating aim mode <REVERT> 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change