SetPlayerScore help .
#1

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
       GivePlayerMoney(killerid, random(5000));
    }
    GivePlayerMoney(playerid, -400);
    SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
    SendDeathMessage(killerid, playerid, reason);
    return 1;
}




Why deceased received Score ?
Reply


Messages In This Thread
SetPlayerScore help . - by quochuy - 04.05.2015, 16:11
Re: SetPlayerScore help . - by J4Rr3x - 04.05.2015, 16:15
Re: SetPlayerScore help . - by quochuy - 04.05.2015, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)