18.01.2010, 20:08
[quote=Thingszors ]
Hey guys, just quickly made up a script for this that echo's any /commands (Not including rcon).
Not hard to do, but I thought I would share for other people not so great with pawn
Lol nice but can u make it seen only for Admins or mods in IRC, i mean OP/AOP etc?
Bcoz it is showing "/login" Command details publically.
Just put it under the "SA-MP Callbacks" section ...
Hey guys, just quickly made up a script for this that echo's any /commands (Not including rcon).
Not hard to do, but I thought I would share for other people not so great with pawn

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new
name[MAX_PLAYER_NAME],
ircCommand[256];
GetPlayerName(playerid, name, sizeof(name));
format(ircCommand, sizeof(ircCommand), "02[%i] 07%s: %s", playerid, name, cmdtext);
IRC_GroupSay(gGroupID, IRC_CHANNEL, ircCommand);
return false;
}
Lol nice but can u make it seen only for Admins or mods in IRC, i mean OP/AOP etc?
Bcoz it is showing "/login" Command details publically.

Just put it under the "SA-MP Callbacks" section ...

