whisper cmd
#9

ok i change it to this
Код:
if (strcmp("/w", cmdtext, true, 10) == 0)
    {
    new string[250];
    if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE:/whisper [message]");
    SetPlayerChatBubble(playerid,string,COLOR_YELLOW,35,10000);
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid,x,y,z);
    new pName[24];
    GetPlayerName(playerid,pName,sizeof(pName));
    new string2[250];
    format(string2,sizeof(string2),"%s(%d):%s",pName,playerid,string);
    for(new i=0;i<=MAX_PLAYERS;i++)
    {
     if(IsPlayerInRangeOfPoint(i,15.0,x,y,z)) return SendClientMessage(playerid,COLOR_YELLOW,string2);
    }
    return 1;
}
to make it work with me and it don't have any errors but when i try it it says
Quote:

SERVER: Unknown command

what to do to make it work ?
Reply


Messages In This Thread
whisper cmd - by GGW - 09.08.2013, 10:57
Re: whisper cmd - by SsHady - 09.08.2013, 11:00
Re: whisper cmd - by GGW - 09.08.2013, 11:05
Re: whisper cmd - by SsHady - 09.08.2013, 11:08
Re: whisper cmd - by GGW - 09.08.2013, 11:11
Re: whisper cmd - by GGW - 09.08.2013, 11:14
Re: whisper cmd - by Max5 - 09.08.2013, 11:15
Re: whisper cmd - by GGW - 09.08.2013, 11:17
Re: whisper cmd - by GGW - 09.08.2013, 11:55
Re: whisper cmd - by Blast3r - 09.08.2013, 12:08

Forum Jump:


Users browsing this thread: 1 Guest(s)