dcmd_me problem
#1

pawn Код:
dcmd_me(playerid,params[])
{
    if(sscanf(params,"dd",playerid,cmdtext)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [action]");
    new str[128];
    GetPlayerName(playerid, str, sizeof(str));
    format(str, sizeof(str), "**%s %s", str, cmdtext[4]);
    SendClientMessageToAll(COLOR_YELLOW, str);
    format(str,sizeof str,"3,0: %s",str);
    IRC_GroupSay(IRC_Group, EchoChan,str);
    return 1;
}
error 017: undefined symbol "cmdtext"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
Reply


Messages In This Thread
dcmd_me problem - by Face9000 - 29.12.2011, 17:39
Re: dcmd_me problem - by [MG]Dimi - 29.12.2011, 17:48
Re: dcmd_me problem - by Johnson_boy - 29.12.2011, 17:48

Forum Jump:


Users browsing this thread: 1 Guest(s)