[AJUDA] Arena
#2

pawn Код:
//topo do script
new bool:IsInX1[MAX_PLAYERS]


//dentro do comando:

IsInX1[MAX_PLAYERS] = true;


public OnPlayerDeath(playerid, killerid, reason)
{
    new string[128],Kpname[MAX_PLAYER_NAME],Dpname[64]
    if(IsInX1[killerid] = true && IsInX1[playerid] = true)
    {
        GetPlayerName(playerid, Dpname, sizeof(Dpname));
        GetPlayerName(killerid, Kpname, sizeof(Kpname));
        format(string,sizeof(string),"%s Matou %s no X1w",Kpname,Dpname);
        SendClientMessageToAll(-1,string);
        IsInX1[playerid] = false;
        IsInX1[killerid] = false;
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Arena - by GhosT_[] - 15.06.2012, 00:20
Re: [AJUDA] Arena - by Crueliz0n - 15.06.2012, 01:11
Re: [AJUDA] Arena - by GhosT_[] - 15.06.2012, 15:15
Re: [AJUDA] Arena - by Crueliz0n - 15.06.2012, 15:18
Re: [AJUDA] Arena - by Ades - 15.06.2012, 15:19
Re: [AJUDA] Arena - by GhosT_[] - 15.06.2012, 15:32
Re: [AJUDA] Arena - by Crueliz0n - 15.06.2012, 15:37
Re: [AJUDA] Arena - by GhosT_[] - 15.06.2012, 15:48
Re: [AJUDA] Arena - by Edu33 - 15.06.2012, 16:31
Re: [AJUDA] Arena - by GhosT_[] - 15.06.2012, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)