View Issue Details

IDProjectCategoryView StatusLast Update
0006944Multi Theft Auto : San AndreasClientpublic2012-03-16 11:03
ReporterLex128Assigned ToCazomino05 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSWindows 7OS Version6.1.7600
Product Version 
Target Version1.3Fixed in Version1.3 
Summary0006944: onClientPlayerHeliKilled isn't added
Description

Doesn't work addEventHandler with the event "onClientPlayerHeliKilled"

Steps To Reproduce

crun addEventHandler("onClientPlayerHeliKilled",root,function() outputDebugString("onClientPlayerHeliKilled") end)

Command results: false [boolean]

but!

crun addEventHandler("onClientPedHeliKilled",root,function() outputDebugString("onClientPedHeliKilled") end)

Command results: true [boolean]

TagsNo tags attached.

Activities

Lex128

2012-03-15 07:23

reporter   ~~0016293

Maybe forgot to add a new event "onClientPlayerHeliKilled" here:
http://code.google.com/p/mtasa-blue/source/browse/branches/1.3.0/MTA10/mods/deathmatch/logic/CClientGame.cpp#2631

Nerran

2012-03-15 15:30

viewer   ~~0016294

onCLIENTPedHeliKilled is a client-only event, why would you expect it to be available serverside?

Cazomino05

2012-03-16 11:00

reporter   ~~0016296

you are right about it not being added was a mistake when they got split between ped and player events I've fixed it in the latest build.

Issue History

Date Modified Username Field Change