Whats wrong with my GivePlayerMoney(killerid
#4

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
        if(killerid != INVALID_PLAYER_ID)
        {
             SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); // +1 Score to KillerID
             GivePlayerMoney(killerid, 457); // + 100 to the killer
        }

        SendDeathMessage(killerid, playerid, reason); // Death Windows
        GivePlayerMoney(playerid, -200); // - 100 to the player get Killed

        SetPlayerScore(playerid, GetPlayerScore(playerid) - 1); // -1 Score to PlayerID
//      } This goes wrong here.
    return 1;
}
Reply


Messages In This Thread
Whats wrong with my GivePlayerMoney(killerid - by elitesae - 29.03.2013, 23:36
Re: Whats wrong with my GivePlayerMoney(killerid - by greentarch - 29.03.2013, 23:46
Re: Whats wrong with my GivePlayerMoney(killerid - by MP2 - 29.03.2013, 23:46
Re: Whats wrong with my GivePlayerMoney(killerid - by Private200 - 29.03.2013, 23:48
Re: Whats wrong with my GivePlayerMoney(killerid - by greentarch - 29.03.2013, 23:51
Re: Whats wrong with my GivePlayerMoney(killerid - by Private200 - 29.03.2013, 23:55

Forum Jump:


Users browsing this thread: 1 Guest(s)