problem calling OnPlayerDeath
#1

so yea this code sends a message like if the player suicided but doesn't show the killerid i.e (me)

shows killerid - blank.


pawn Код:
if(hp < 1.0)
                            {
                                SendClientMessage(i, -1, "Killed by a haze bomb.");
                                OnPlayerDeath(i, playerid, 47);
                                SpawnPlayer(i);
                            }
Reply
#2

help
Reply
#3

I don't really get what you're trying to do here.
If someone has 0 hp he would already be dead by nature..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)