SA-MP Forums Archive
All commands and words going in the console - 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: All commands and words going in the console (/showthread.php?tid=362123)



All commands and words going in the console - nogh445 - 23.07.2012

I was wondering how I can make it to where every command and word typed (ex. /help, "Hello", /me, etc.) will show up on the server console. The CMD prompt when you open the "samp-server" in the folder of the server.


Re : All commands and words going in the console - lelemaster - 23.07.2012

I don't really understand what you are talking about. But type 'cmdlist' in the command promt of samp-server.


Re: All commands and words going in the console - nogh445 - 23.07.2012

This is the thing.. I want anything typed in the game to go onto this cmd prompt.



Re: All commands and words going in the console - Dan. - 23.07.2012

If you are using zCMD:

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    printf("%s", cmdtext);
    return 1;
}