After Death
#6

PHP код:
    PlayerInfo[playerid][pAFKTime] = -3;
    
ClearAnimations(playerid);
    
KillTimer(HalfSecTimer[playerid]);
    
DestroyPlayerObject(playerid,CheatText[playerid]);
    if(
killerid != INVALID_PLAYER_ID)
    {
        if(
DamageTaken[playerid] == 0)
        {
            
Cheater(playerid"Fake Kill",1);
        }
    }
    if(
killerid == playerid)
    {
       
Cheater(playerid"Fake Kill",1);
    }
    if(
DamageTaken[playerid] == 1)
    {
       
SetTimerEx("DamageTimer"10false"i"playerid);
    }
    new 
str[512],gname[64];
    if(
shesulia[playerid] && dawyebulia)
    {
        if(
killerid != INVALID_PLAYER_ID)
        {
            
PlayerInfo[killerid][pKills]++;
            
TempKill[killerid] ++;
            
SendDeathMessage(killeridplayeridreason);
            
KilledManID[killerid] = playerid;
            
GetWeaponName(reasongnamesizeof(gname));
            
StatusCheck[playerid] = false;
            if(
reason >= 22 && reason 39)
            {
                
format(str,sizeof(str),"~n~~n~~n~~n~~n~~w~YOU have killed %s with %s~n~~r~%d kill",GetName(playerid),gname,TempKill[killerid]);
            }
            else 
format(str,sizeof(str),"~n~~n~~n~~n~~n~~w~YOU have killed %s~n~~r~%d kill",GetName(playerid),TempKill[killerid]);
            
TD_MSG(killerid3000str);
        }
        else
        {
            
SendDeathMessage(playeridplayeridreason);
        }
        
// Iaragis Dagdeba Sikvdilis Shemdeg //
        
new weaponid GetPlayerWeapon(playerid);
        new 
wammo GetPlayerAmmo(playerid);
        if(
weaponid && weaponid 39)
        {
            
DropWeaponsDeath(playerid,weaponid,wammo);
        }
        
//
         
PlayerInfo[playerid][pDeaths]++, lmsCount--;
        
shesulia[playerid] = 0;
        
//GangZoneHideForPlayer(playerid,deathzone);
        
GZ_ShapeHideForPlayer(playeriddeathzone);
        
hppack[playerid] = 0;
        
StatusCheck[playerid] = false;
        
PlayerTextDrawHide(playeridPlayerText:IGStatus[0][playerid]);
        
PlayerTextDrawHide(playeridPlayerText:IGStatus[1][playerid]);
        
PlayerTextDrawHide(playeridPlayerText:IGStatus[2][playerid]);
        
PlayerTextDrawHide(playeridPlayerText:IGStatus[3][playerid]);
    }
    else
    {
        if(
killerid == INVALID_PLAYER_ID) return 1;
        new 
formattxt[512];
        
format(formattxt,512,"~w~YOU have killed ~r~%s",GetName(playerid));
        
TD_MSG(killerid3000formattxt);
        
format(formattxt,512,"~w~YOU were killed by ~r~%s",GetName(killerid));
        
TD_MSG(playerid3000formattxt);
    }
    return 
1;

Reply


Messages In This Thread
After Death - by DeMoo - 26.02.2018, 20:15
Re: After Death - by Mike861 - 26.02.2018, 20:36
Re: After Death - by cuber - 26.02.2018, 20:37
Re: After Death - by kingmk - 26.02.2018, 20:41
Re: After Death - by RogueDrifter - 26.02.2018, 23:24
Re: After Death - by DeMoo - 27.02.2018, 08:48
Re: After Death - by PepsiCola23 - 27.02.2018, 08:51
Re: After Death - by RogueDrifter - 27.02.2018, 08:54
Re: After Death - by DeMoo - 27.02.2018, 08:54
Re: After Death - by kingmk - 27.02.2018, 10:22

Forum Jump:


Users browsing this thread: 3 Guest(s)