if (strcmp (cmdtext, "/me", true, 3) ==0) {
new streptocoque [256], pname [256] ;
GetPlayerName (playerid, pname, 256) ;
format (streptocoque, 256, " %s %s ", pname, cmdtext [4]) ;
SendClientMessageToAll (couleur, streptocoque) ;
return 1 ;
}public OnPlayerText(playerid, text[])
{
if (IsPlayerAdmin(playerid)){
new streptocoque [256], pname [256] ;
GetPlayerName (playerid, pname, 256) ;
format (streptocoque, 256, "Admin %s : %s ", pname, text [4]) ;
SendClientMessageToAll(COLOR_BLUE, streptocoque) ;
}
return 1;
}
public OnPlayerText(playerid, text[])
{
if (IsPlayerAdmin(playerid)){
new streptocoque [256], pname [256] ;
new color[MAX_PLAYERS];
GetPlayerName (playerid, pname, 256) ;
format (streptocoque, 256, "Admin %s: %s ", pname, text) ;
color[playerid] = GetPlayerColor(playerid);
SendClientMessageToAll(color[playerid], streptocoque) ;
return 0;
}
return 1;
}