when player use any irc command the command happened twice! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: when player use any irc command the command happened twice! (
/showthread.php?tid=509653)
when player use any irc command the command happened twice! -
KillerStrike23 - 27.04.2014
as the title says explain: when player use !pm its sends two pms and all other cmds ... any help ?
Re: when player use any irc command the command happened twice! -
Aerotactics - 27.04.2014
Show some script please. It might be in issue in these areas:
OnPlayerText
OnPlayerCommandText
Re: when player use any irc command the command happened twice! -
biker122 - 27.04.2014
Show us the code;
Re: when player use any irc command the command happened twice! -
KillerStrike23 - 27.04.2014
pawn Код:
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;}
here it is
Re: when player use any irc command the command happened twice! -
biker122 - 27.04.2014
Show me your !pm command.