Help-On player death crash
#6

Quote:
Originally Posted by kc
Quote:
Originally Posted by On_Top_Non_Stop
To start with you send a death message without even knowing if there was a killer.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid == INVALID_PLAYER_ID)
    {
        SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
    }
    else
    {
        SendDeathMessage(killerid,playerid,reason);
        GivePlayerMoney(killerid, 5000);
    }
    return 1;
}
http://forum.sa-mp.com/index.php?top....0#post_values
I maked it but the game crash
Reply


Messages In This Thread
Help-On player death crash - by [SsC11]MAVERIK - 13.03.2009, 19:39
Re: Help-On player death crash - by On_Top_Non_Stop - 13.03.2009, 20:18
Re: Help-On player death crash - by kc - 13.03.2009, 20:20
Re: Help-On player death crash - by On_Top_Non_Stop - 13.03.2009, 20:24
Re: Help-On player death crash - by [SsC11]MAVERIK - 13.03.2009, 21:09
Re: Help-On player death crash - by [SsC11]MAVERIK - 14.03.2009, 12:55
Re: Help-On player death crash - by d0 - 14.03.2009, 12:58
Re: Help-On player death crash - by [SsC11]MAVERIK - 14.03.2009, 15:58

Forum Jump:


Users browsing this thread: 2 Guest(s)