sendclientmessagetoall with the input text?
#5

pawn Код:
CMD:sayhi(playerid, params[])
{
    new Str[128],pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /sayhi [message]");
    format(Str, sizeof(Str), "/ %s / send a message saying / %s /", pName,params);
    SendClientMessageToAll(0x33FF33AA, Str);
    return 1;
}
Reply


Messages In This Thread
sendclientmessagetoall with the input text? - by Jack_Leslie - 10.07.2011, 04:30
Re: sendclientmessagetoall with the input text? - by Calgon - 10.07.2011, 04:41
Re: sendclientmessagetoall with the input text? - by Jack_Leslie - 10.07.2011, 04:46
Re: sendclientmessagetoall with the input text? - by Kush - 10.07.2011, 04:46
Re: sendclientmessagetoall with the input text? - by Gertin - 10.07.2011, 08:20
Re: sendclientmessagetoall with the input text? - by Calgon - 10.07.2011, 08:26
Re: sendclientmessagetoall with the input text? - by jameskmonger - 10.07.2011, 08:39

Forum Jump:


Users browsing this thread: 1 Guest(s)