[Ajuda] ocultar Chat kill
#10

Код:
new bool:chatkill[MAX_PLAYERS];

//comando
if(!strcmp(cmdtext, "/ChatKillExtra", true ))
{
    chatkill[playerid] = false;
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    if(chatkill[playerid] == true)
    {
         SendDeathMessage(killerid, playerid, reason); 
    }else{
         ShowExtraChatKill(playerid);
    }
// se o boolean chatkill for true irб mostrar o chatkill 
//se for false irб executar a funзгo extra na stock sem mostrar o chatkill ...
    return 1;
}
stock ShowExtraChatKill(playerid)
{ 
    //code
    return 1;
}
Reply


Messages In This Thread
ocultar Chat kill - by RDM - 15.07.2016, 12:57
Re: ocultar Chat kill - by F1N4L - 15.07.2016, 12:59
Re: ocultar Chat kill - by RDM - 15.07.2016, 13:03
Re: ocultar Chat kill - by n0minal - 15.07.2016, 13:09
Re: ocultar Chat kill - by F1N4L - 15.07.2016, 13:11
Re: ocultar Chat kill - by RDM - 15.07.2016, 13:13
Re: ocultar Chat kill - by F1N4L - 15.07.2016, 13:16
Re: ocultar Chat kill - by RDM - 15.07.2016, 13:20
Re: ocultar Chat kill - by RDM - 15.07.2016, 13:45
Respuesta: ocultar Chat kill - by Kanuy - 15.07.2016, 13:54

Forum Jump:


Users browsing this thread: 3 Guest(s)