/(w)hisper crashes the server lol wtf
#7

Let me make your life easier:

Download this (check out the features as well and if you like it): https://sampforum.blast.hk/showthread.php?tid=520734

And then you could do this:
pawn Код:
CMD:whisper(playerid, params[])
{
    new string[256], message[128];
    if(sscanf(params, "s[128]", message)) return SendMessage(playerid, 0xFFFF00FF, "Usage: /whisper (message).");
    format(string, sizeof(string), "[WHISPER]: (%d) %s: %s.", playerid, PlayerName(playerid), message);
    SendWhisperMessage(10.0, playerid, 0x00FFFFFF, string);
    return 1;
}

CMD:w(playerid, params[]) return cmd_whisper(playerid, params);

stock PlayerName(playerid)
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    return pname;
}
Reply


Messages In This Thread
/(w)hisper crashes the server lol wtf - by Ritzy2K - 24.03.2015, 09:52
Re: /(w)hisper crashes the server lol wtf - by ATGOggy - 24.03.2015, 10:16
Re: /(w)hisper crashes the server lol wtf - by KayJ - 24.03.2015, 10:37
Re: /(w)hisper crashes the server lol wtf - by Sew_Sumi - 24.03.2015, 11:29
Re: /(w)hisper crashes the server lol wtf - by BroZeus - 24.03.2015, 11:54
Re: /(w)hisper crashes the server lol wtf - by Sew_Sumi - 24.03.2015, 13:07
Re: /(w)hisper crashes the server lol wtf - by SickAttack - 24.03.2015, 13:12

Forum Jump:


Users browsing this thread: 2 Guest(s)