Server Crashed +REP
#10

The line 7777 is in:

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9 && GetPlayerTeam(playerid) != GetPlayerTeam(issuerid) && Freemod[playerid] == 0 && OnDuty[playerid] == 0)
    {
        SetPlayerHealth(playerid, 0.0);
        if(Headshotdone[playerid] == 0)
        {
        new killedname[MAX_PLAYER_NAME], killername[MAX_PLAYER_NAME], Message[128];
        GetPlayerName(playerid, killedname, MAX_PLAYER_NAME);
        GetPlayerName(issuerid, killername, MAX_PLAYER_NAME);
        format(Message, sizeof(Message), "%s (%d) Has Been Killed By A Headshot From %s (%d)!", killedname, playerid, killername, issuerid);
        SendClientMessageToAll(0x00FBFFFF, Message);
        format(Message, sizeof(Message), "You Have Been Killed By A Headshot From %s (%d)!", killername, issuerid);
        SendClientMessage(playerid, 0xFF0000AA, Message);
        format(Message, sizeof(Message), "Congratulations! You Have Killed %s (%d) By A Headshot! Received Extra 2K!", killedname, playerid);
        SendClientMessage(issuerid, 0xFFEE00FF, Message);
        F_GivePlayerMoney(issuerid, 2000);
        GameTextForPlayer(issuerid, "~r~Headshot", 5000, 4);
        GameTextForPlayer(playerid, "~r~Killed By Headshot", 5000, 3);
        }
        Headshotdone[playerid] = 1;
    } // 7777 Line here
    if(issuerid != INVALID_PLAYER_ID && Freemod[issuerid] == 0 && GetPlayerTeam(playerid) != GetPlayerTeam(issuerid) && OnDuty[playerid] == 0)
    {
    PlayerPlaySound(issuerid, 17802, 0, 0, 0);
    }
    return 1;
}
And I already posted the output of crashdetect above..
Reply


Messages In This Thread
Server Crashed +REP - by Youssef221 - 05.06.2015, 09:24
Re: Server Crashed +REP - by Youssef221 - 05.06.2015, 09:48
Re: Server Crashed +REP - by dusk - 05.06.2015, 09:55
Re: Server Crashed +REP - by Youssef221 - 06.06.2015, 00:21
Re: Server Crashed +REP - by Youssef221 - 06.06.2015, 00:30
Re: Server Crashed +REP - by dusk - 06.06.2015, 08:03
Re: Server Crashed +REP - by Konstantinos - 06.06.2015, 09:54
Re: Server Crashed +REP - by Youssef221 - 06.06.2015, 10:11
Re: Server Crashed +REP - by Konstantinos - 06.06.2015, 10:31
Re: Server Crashed +REP - by Youssef221 - 06.06.2015, 10:37

Forum Jump:


Users browsing this thread: 2 Guest(s)