Posts: 2,262
Threads: 260
Joined: Mar 2009
Reputation:
0
I need to know how to make an accurate onplayerdeath. Sometimes when i shoot a car and stop the car is fine, later the car sets on fire by crashing and kills the player it will make me wanted level caus i shot the car before.
Thanks
Posts: 6,129
Threads: 36
Joined: Jan 2009
You can't make it completely accurate.
You can try to add logic statements to enhance the accuracy of the OnPlayerDeath results. For example, you could confirm that a player was even spawned or connected at a certain time by cross-referencing variables with if statements, but even with these attempts, there's no confirmation that the callback will return entirely accurate results after filtering the results through logic checks.