Show a what command player uses on irc
#1

Hey, as the title says. I would like to get a simple example on how to show the command player uses through irc.


For example:

A player used /admins in-game. Then on an irc channel for example #commands, a message should appear like "PlayerName[id] typed /admins.

Or

A player used "/pm 0 Hello". Then it should appear on the irc "PlayerName[id] typed /pm 0 Hello!.


How to exactly make a string using the callback :

Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
A simple help and example would work, with few explanations if you please. I am pretty new on scripting, so thanks for the help.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)