Send MSG to RCON when player typ a command?
#2

Quote:
Originally Posted by ► James_Alex
use printf
example
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name));
printf("%s has typed %s", name, cmdtext);
if(strcmp(cmdtext, "/teles", true) == 0)
{
// bla bla bla
}
return 0;
}
THANX u very muck for ur reply, but i mean this: the rcon will see it IN GAME!! and i also mean with not only /teles command, but with EVERY cmd!
So also like this: /blahblah123
can u help me
thanx again!
cya
Reply


Messages In This Thread
Send MSG to RCON when player typ a command? - by -.- Haha -.- - 02.09.2009, 15:22
Re: Send MSG to RCON when player typ a command? - by -.- Haha -.- - 02.09.2009, 15:36

Forum Jump:


Users browsing this thread: 1 Guest(s)