Ayuda con deshabilitar canal
#5

Te dejo un ejemplo.

Funciуn:

pawn Код:
funcion MensajeAdminsOn(Color, Texto[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(CanalAdm[i] == true)
            {
                SendClientMessage(i, Color, Texto);
            }
        }
    }
}
Comando:

pawn Код:
CMD:test(playerid, params[])
{
    if(sscanf(params, "s[64]", params[0]))  return SendClientMessage(playerid, Color_Info, "Utilize: /test [Texto]");
    MensajeAdminsOn(-1,params[0]);
    return 1;
}
Reply


Messages In This Thread
Ayuda con deshabilitar canal - by maicolpao - 27.04.2015, 23:27
Respuesta: Ayuda con deshabilitar canal - by Goncho28 - 27.04.2015, 23:52
Respuesta: Ayuda con deshabilitar canal - by iimma - 28.04.2015, 02:45
Re: Ayuda con deshabilitar canal - by SickAttack - 28.04.2015, 03:18
Respuesta: Ayuda con deshabilitar canal - by Jose_grana - 28.04.2015, 09:31

Forum Jump:


Users browsing this thread: 1 Guest(s)