SendDeathMessage not always sending message
#1

Hi all, i have an annoying problem in my mode. Sometimes when i use "SendDeathMessage" it shows a death message but %80 of the time it does not. I have it at the top of OnPlayerDeath callback.

Here's the code

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(IsPlayerNPC(playerid))return 1;
   
    SendDeathMessage(killerid, playerid, reason);
   
    //rest of stuff update stats ect
Now i know the function is being called because underneath it i have the code that updates stats (kills/deaths) and that is working fine (that's easy to tell because it also updates my stats TextDraw).

So if anyone else has encountered this problem and knows why it's happening or how to fix, please let me know.

Thanks in Advance. (rep for fix)
Reply


Messages In This Thread
SendDeathMessage not always sending message - by iggy1 - 17.01.2012, 10:11
Re: SendDeathMessage not always sending message - by iggy1 - 18.01.2012, 20:42
Re: SendDeathMessage not always sending message - by spedico - 18.01.2012, 20:47
Re: SendDeathMessage not always sending message - by Slice - 18.01.2012, 21:02

Forum Jump:


Users browsing this thread: 1 Guest(s)