[Pedido] Sistema de /pm
#4

Quote:
Originally Posted by PlayeR_TheReturN
Посмотреть сообщение
pawn Код:
CMD:pm(playerid, params[])
{
    new plid, msg, string[120];
    if(sscanf(params, "us",plid, msg)) return SendClientMessage(playerid, -1, "/pm [Id] [Msg]");
    format(string, sizeof(string), "[ MENSAGEM ENVIADA ] %s (%d) : %s", gName(plid), playerid, msg);
    SendClientMessage(playerid, -1, string);
    format(string, sizeof(string), "[ MENSAGEM RECEBIDA ] %s (%d) : %s", gName(playerid), plid , msg);
    SendClientMessage(plid, -1, string);
    return 1;
}

gName(playerid)
{
    new Name[24];
    GetPlayerName(playerid,Name, 24);
    return Name;
}
Muito Obrigado.Ajudou muito!
Reply


Messages In This Thread
Sistema de /pm - by xxRaioxx - 29.06.2013, 16:40
Re: [Pedido] Sistema de /pm - by PlayeR_TheReturN - 29.06.2013, 17:47
Re: [Pedido] Sistema de /pm - by iTzDemon - 29.06.2013, 17:53
PlayeR_TheReturN - by xxRaioxx - 29.06.2013, 18:42

Forum Jump:


Users browsing this thread: 1 Guest(s)