27.08.2013, 17:31
Quote:
pawn Код:
|
e preferivel usar o jeito do iSmirnoff mudando apenas 1 pequena coisa
pawn Код:
public OnPlayerText ( playerid, text[] ) {
new string [ 128 ], Nome [ MAX_PLAYER_NAME ] ;
GetPlayerName ( playerid, Nome, MAX_PLAYER_NAME ) ;
if ( PlayerInfo [ playerid ] [ pAdmin ] >= 1 ) {
format ( string, 128, "[ Admin ]: %s ID:%d: %s", Nome, playerid, text ) ;
SendClientMessageToAll ( -1, string ) ;
return 1;
}
else {
format ( string, 128, "%s ID:%d: %s", Nome, playerid, text ) ;
SendClientMessageToAll ( -1, string ) ;
}
return 1;
}