04.04.2010, 17:07
**Modifed topic to new question...**
Hello,
I would like to know if there is a callback or any other way to detect if i have shot someone or have been shot (Sorta like OnPlayerDeath(playerid,killerid,reason) but more like.. OnPlayerHit(playerid,killerid,reason) )
If there is no callback how could i create my own way of detecting this?
**for being shot..i could check if health has gone down?? but how can i detect if they player has actually be SHOT by another player or if you shoot someone**
Hello,
I would like to know if there is a callback or any other way to detect if i have shot someone or have been shot (Sorta like OnPlayerDeath(playerid,killerid,reason) but more like.. OnPlayerHit(playerid,killerid,reason) )
If there is no callback how could i create my own way of detecting this?
**for being shot..i could check if health has gone down?? but how can i detect if they player has actually be SHOT by another player or if you shoot someone**