OnPlayerDeath shows something with crashdetect
#7

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);

    if(killerid != INVALID_PLAYER_ID)
    {
        GivePlayerMoney(killerid, 500);
        SetPlayerScore(killerid, GetPlayerScore(killerid)+10);
        pInfo[killerid][Kills]++;
    }

    SetPlayerScore(playerid, GetPlayerScore(playerid)-10);
    pInfo[playerid][Deaths]++;
    return 1;
}
Reply


Messages In This Thread
OnPlayerDeath shows something with crashdetect - by MarkoN - 19.09.2012, 17:22
Re: OnPlayerDeath shows something with crashdetect - by ViniBorn - 19.09.2012, 17:25
Re: OnPlayerDeath shows something with crashdetect - by Glint - 19.09.2012, 17:27
Re: OnPlayerDeath shows something with crashdetect - by MarkoN - 19.09.2012, 17:29
Re: OnPlayerDeath shows something with crashdetect - by Lordzy - 19.09.2012, 17:29
Re: OnPlayerDeath shows something with crashdetect - by Glint - 19.09.2012, 17:32
Re: OnPlayerDeath shows something with crashdetect - by SuperViper - 19.09.2012, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)