View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004177||Multi Theft Auto : San Andreas||Server||public||2009-04-13 17:29||2009-05-25 00:36|
|Fixed in Version||1.0|
|Summary||0004177: isPedDead always returns false when used on peds|
Summary pretty much says it all. Doesn't matter if the ped is dead or alive. Worked fine for players last time I tried.
Either it should work for peds properly, or it should be deleted and replaced with isPlayerDead again. Kind of pointless to have a ped function which doesn't even work on peds.
|Tags||No tags attached.|
This is probably because the ped was not killed server-side and the server didn't know that the ped was dead. Try triggering a server-side event from the client syncer when "onClientPedWasted" is triggered that calls "killPed" server-side. "isPedDead" worked fine with peds on my server after I did what I suggested above.
Can't reproduce in most recent nightly so I am closing this, I guess I fixed this in r849