14.03.2013, 14:57
How to make the server chat in the "samp-server.exe console" ?
public OnPlayerText(playerid, text[])
{
return 1;
}
//or
public OnPlayerText(playerid, text[])
{
return true;
}
public OnPlayerText(playerid, text[])
{
new name[24];
GetPlayerName(playerid, name, sizeof(name));
printf("[CHAT]: %s[%d]: %s",name,playerid,text[0]);
return 1;
}
im not really sure what you mean a console command or to show player's chat in game but
as i understand you want to monitor what player's are talking in game so try this pawn Код:
|