Simple questions
#7

Well, i dont really know what OCC does xD but ehh.

pawn Код:
if(strcmp(cmdtext,"/b", true) == 0)
{
    new text[128];
    if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /b (text)");
    {
        format(string,sizeof(string),"[B]: %s", text);
        SendClientMessageToAll(0xFFFFFFAA, string);
    }
    return 1;
}

if(strcmp(cmdtext,"/o", true) == 0)
{
    new text[128];
    if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /o (text)");
    {
        format(string,sizeof(string),"[O]: %s", text);
        SendClientMessageToAll(0xFFFFFFAA, string);
    }
    return 1;
}
Reply


Messages In This Thread
Simple questions - by Andregood - 23.04.2011, 16:51
Re: Simple questions - by PCheriyan007 - 23.04.2011, 16:53
Re: Simple questions - by Andregood - 23.04.2011, 17:38
Re: Simple questions - by CrazyBlob - 23.04.2011, 17:39
Re: Simple questions - by Laronic - 23.04.2011, 17:40
Re: Simple questions - by Andregood - 23.04.2011, 17:42
Re: Simple questions - by Laronic - 23.04.2011, 17:47
Re: Simple questions - by linuxthefish - 23.04.2011, 18:08
Re: Simple questions - by Andregood - 23.04.2011, 18:16
Re: Simple questions - by xir - 23.04.2011, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)