fake kill
#1

hello.
How can i make a fake kill or something, because i like test functions in onplayerdeath and alone is impossible. I must kill a other player that the function called.
Reply
#2

the function is : SendDeathMessage
Reply
#3

but onplayerdeath won't called with this.
Reply
#4

it will trust me , i use it , u just need to make params for the killerid and the playerid and SendDeathMessage(killerid,playerid,reason);
Reply
#5

yes it shows, but onplayerdeath won't called.
because i made if a player kills oneplayer he recieves random money from the player whos killed and it won't show up, thats why it won't called.
Reply
#6

Just call it by yourself somewhere

pawn Код:
OnPlayerDeath(playerid, playerid, 0);
Reply
#7

Quote:
Originally Posted by ♣ Joker ♠
Just call it by yourself somewhere

pawn Код:
OnPlayerDeath(playerid, playerid, 0);
haha, thx
Reply


Forum Jump:


Users browsing this thread: