27.04.2014, 13:29
as the title says explain: when player use !pm its sends two pms and all other cmds ... any help ?
public OnPlayerCommandText(playerid, cmdtext[]){
new playname[MAX_PLAYER_NAME], ircCommand[256];
GetPlayerName(playerid, playname, sizeof(playname));
format(ircCommand, sizeof(ircCommand), "02[%i] 07%s: %s", playerid, playname, cmdtext);
IRC_GroupSay(gGroupID2, IRC_ADMINCHANNEL, ircCommand);
return 1;}
public OnPlayerCommandPerformed(playerid, cmdtext[], success){
if(success == 0) SendClientMessage(playerid, white, "Try another command from /help, that one doesnt exist!");
return 1;}