OnPlayerDeath - Updating Data
#6

pawn Код:
if(killerid != INVALID_PLAYER_ID) // Killer Shit
    {
                pInfo[killerid][pKills]++;
        pInfo[killerid][pScore]++;
        pInfo[killerid][pMoney] = pInfo[killerid][pMoney]+100;
        SetPlayerScore(killerid, pInfo[killerid][pScore]);
    }
    //Dead Shit
    pInfo[playerid][pDeaths]++;
    pInfo[playerid][pMoney] = pInfo[playerid][pMoney]-50;

    return 1;
}
Reply


Messages In This Thread
OnPlayerDeath - Updating Data - by Slepur - 05.08.2013, 22:22
Re: OnPlayerDeath - Updating Data - by RedJohn - 05.08.2013, 22:30
Re: OnPlayerDeath - Updating Data - by Slepur - 05.08.2013, 22:36
Re: OnPlayerDeath - Updating Data - by RedJohn - 05.08.2013, 22:41
Re: OnPlayerDeath - Updating Data - by Slepur - 05.08.2013, 22:50
Re: OnPlayerDeath - Updating Data - by Amel_PAtomAXx - 05.08.2013, 23:16
Re: OnPlayerDeath - Updating Data - by RedJohn - 05.08.2013, 23:19
Re: OnPlayerDeath - Updating Data - by Slepur - 05.08.2013, 23:23
Re: OnPlayerDeath - Updating Data - by SuperViper - 05.08.2013, 23:25
Re: OnPlayerDeath - Updating Data - by Amel_PAtomAXx - 05.08.2013, 23:38

Forum Jump:


Users browsing this thread: 1 Guest(s)