22.05.2014, 09:41
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.");