Need help.
#6

pawn Код:
CMD:me(playerid,params[])
{
    #pragma unused params
    {
    if(!strlen(params)) return
    SendClientMessage(playerid, LIGHTBLUE2, "Usage: /me [Text] ");
    new string[128], name[MAX_PLAYER_NAME+1];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s {FFFFFF}%s", name, params[0]);
    return SendClientMessageToAll(LIGHTBLUE,string);
    }
}
You missed a semi-colon here.
pawn Код:
SendClientMessage(playerid, LIGHTBLUE2, "Usage: /me [Text] ");
Reply


Messages In This Thread
Need help. - by LeeXian99 - 27.03.2013, 01:34
Re: Need help. - by kamzaf - 27.03.2013, 01:39
Re : Need help. - by thegreathom - 27.03.2013, 01:40
Re: Need help. - by LeeXian99 - 27.03.2013, 01:47
Re : Need help. - by thegreathom - 27.03.2013, 01:57
Re: Need help. - by Gamer_007 - 27.03.2013, 01:59

Forum Jump:


Users browsing this thread: 3 Guest(s)