View Issue Details

IDProjectCategoryView StatusLast Update
0006495Multi Theft Auto : San AndreasServerpublic2013-05-19 20:03
ReporterarranTunaAssigned Tosbx320 
PrioritynoneSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.3.3Fixed in Version1.3.3 
Summary0006495: onPlayerDamage has wrong parameters if source on vehicle
Description

If you're on a bike and somebody shoots you the attacker is nil and weapon is 0.

srun addEventHandler("onPlayerDamage", getPlayerFromName("yourname"), function(at, wep) outputDebugString(tostring(at).." "..tostring(wep)) end)

TagsNo tags attached.

Activities

arranTuna

2012-12-25 16:03

manager   ~~0017921

This happens with any vehicle not just bikes, onClientPlayerDamage works fine but onPlayerDamage doesn't.

sbx320

2013-05-18 21:26

administrator   ~~0018583

Fixed in https://code.google.com/p/mtasa-blue/source/detail?r=5411

Issue History

Date Modified Username Field Change