View Issue Details

IDProjectCategoryView StatusLast Update
0002593Multi Theft Auto : San AndreasScriptingpublic2007-10-27 16:02
ReporterLucif3r Assigned ToJax  
Status resolvedResolutionfixed 
Product Versionblue_sa.r2.a12 
Fixed in Versionmtasadm_v1.0-dp1 
Summary0002593: killing a player (killPlayer()) with armor needs to be triggered twice (and another bug)

as summary says... Using killPlayer() on a player with armor (setPlayerArmor()) needs to be triggered twice.

code i use:
addEventHandler ("onPlayerDamage", getRootElement(), function (attacker, weapon, bodypart, loss )
if bodypart == 9 then
end )

and on the client i output a message telling that person that he's got shot in the head, so im 110% sure the bullets actually hit the head.
Also, it works everytime on the first hit in the head on players without armor.

Also (again), when the player with armor eventually dies and respawns without armor, it happens quite often he respawns without any health at all, forcing him to respawn yet another time.

TagsNo tags attached.


related to 0002612 resolvedccw Spawning a player within the ground may damage the player a tiny bit on spawn, with false damage information. 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change