+1 score +1 deaths
#10

Quote:
Originally Posted by mickos
Посмотреть сообщение
pawn Код:
enum pInfo
{
    ReadPms,
    MaxPing,
    ReadCmds,
    ConnectMsg,
    AutoLog,
    sLocked,
    sPass[129],
    ScoreSaving,
    ReporterName[MAX_PLAYER_NAME],
    TargetName[MAX_PLAYER_NAME],
    Reason[128],
    H,
    M,
    S,
};
pawn Код:
enum pInfo
{
    Pass[129],
    Ip[16],
    Log,
    TrustedPlayer,
    Admin,
    Hide,
    Jail,
    Freeze,
    Mute,
    MuteTime,
    Pm,
    hours,
    minuteit,
    secs,
    TotalTime,
    ConnectTime,
    cage,
    BlockPM,
    Invisible,
    AdminWhoBanIt[MAX_PLAYER_NAME],
    Banned,
    Float:X,
    Float:Y,
    Float:Z,
    Float:Ang,
    Int,
    World,
    SaveSkin,
    SaveColor,
    Question[129],
    Answer[129],
    UseSkin,
    UseColor,
    GainPoints,
    God,
    Warn,
    Score,
    Money,
    Kills,
    Deaths
};
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
    if(killerid != INVALID_PLAYER_ID)
    {
        SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
        GameTextForPlayer(killerid,"~w~+1 Score~R~~N~+1 kill~N~ ~g~+1000$", 5000, 1);
        GivePlayerMoney(killerid, 1000);
        SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
     }
        return 1;
}
_________________
xXx Stunt Paradise Awesome

Server IP: Click Here!

Hosted Tab Game-MP for 10 Euro / per month
Hosted Tab + Server host 50 slots + Control Panel for 15 Euro
Skype: MahdiAsali
Ђ10 Euro for Hosted List
Reply


Messages In This Thread
+1 score +1 deaths - by mickos - 23.01.2014, 08:23
Re: +1 score +1 deaths - by Scottas - 23.01.2014, 08:28
Re: +1 score +1 deaths - by MatriXgaMer - 23.01.2014, 08:29
Re: +1 score +1 deaths - by boomerboom - 23.01.2014, 08:37
Re: +1 score +1 deaths - by mickos - 25.01.2014, 17:29
Re: +1 score +1 deaths - by Scottas - 25.01.2014, 19:17
Re: +1 score +1 deaths - by mickos - 25.01.2014, 19:21
Re: +1 score +1 deaths - by Scottas - 25.01.2014, 19:38
Re: +1 score +1 deaths - by mickos - 25.01.2014, 19:59
Re: +1 score +1 deaths - by MahdiGames - 25.01.2014, 22:10
Re: +1 score +1 deaths - by Shetch - 25.01.2014, 22:19
Re: +1 score +1 deaths - by MahdiGames - 25.01.2014, 22:25

Forum Jump:


Users browsing this thread: 1 Guest(s)