Lil help
#1

Well i make vip chat but when i type in /vchat and talk it works and i could hear my other friend but when i type, he cant see what i typed or what he typed
pawn Код:
CMD:vchat(playerid, params[])
{
    new id,str[128], name[MAX_PLAYER_NAME];
    if(sscanf(params,"s",str)) return SendClientMessage(playerid,0xFF9900AA, "USAGE: /vchat [text]");
    GetPlayerName(playerid,name,sizeof(name));
    format(str, sizeof(str), "[VIPCHAT] %s: %s",name,str);
    {
        if(IsPlayerConnected(id))
        {
            if(PlayerData[playerid][vip] > 0)
            {
            SendClientMessage(id,0xFF9900AA,str);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Lil help - by tanush - 23.03.2011, 00:12
Re: Lil help - by [L3th4l] - 23.03.2011, 00:29
Re: Lil help - by tanush - 23.03.2011, 00:52
Re: Lil help - by [L3th4l] - 23.03.2011, 00:59

Forum Jump:


Users browsing this thread: 1 Guest(s)