Tag Mismatch and Array size don't Match
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(setaccent, 9, cmdtext);
    dcmd(deleteaccount, 13, cmdtext);
    dcmd(duel, 4, cmdtext);
    dcmd(setbankreload, 13, cmdtext);
    dcmd(subf, 4, cmdtext);
    dcmd(mass, 4, cmdtext);
    dcmd(assigncommander, 15, cmdtext);
    dcmd(givedonuts, 10, cmdtext);
    dcmd(givedonutstoall, 15, cmdtext);
    //dcmd(exchange, 8, cmdtext);
    dcmd(removedonuts, 12, cmdtext);

    if(gPlayerSpawned[playerid] == 0)
    {
        SendClientMessage(playerid, COLOR_GRAD1, "   You are not logged in or have not spawned !");
        return 1;
    }
    new string[128];
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new cmd[128];
    new tmp;
    new rapstyle;
    new wankstyle;
    new dancestyle;
    new sexstyle;
    new bjstyle;
    new giveplayerid, moneys, idx;
    cmd = strtok(cmdtext, idx);
    if(strcmp(cmd,"/mute",true,4) && strcmp(cmd, "/report",true,6) && PlayerInfo[playerid][pMuted] == 1)
        return SendClientMessage(playerid, COLOR_GREY, "You can't speak, you're muted.");
Reply


Messages In This Thread
Tag Mismatch and Array size don't Match - by Jankingston - 22.05.2014, 07:51
Re: Tag Mismatch and Array size don't Match - by Misiur - 22.05.2014, 08:38
Re: Tag Mismatch and Array size don't Match - by Jankingston - 22.05.2014, 09:41
Re: Tag Mismatch and Array size don't Match - by Konstantinos - 22.05.2014, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)