[Ajuda] Tag no OnPlayerText
#2

pawn Код:
public OnPlayerText ( playerid, text[] ) {

    new string [ 128 ], Nome [ 21 ] ;
    GetPlayerName ( playerid, Nome, 21 ) ;
   
    if ( PlayerInfo [ playerid ] [ pAdmin ] >= 1 ) {
       
        format ( string, 128, "[ Admin ]: %s ID:%d: %s", Nome, playerid, text   ) ;
        SendClientMessage ( -1, string ) ;
    }
    else {
   
        format ( string, 128, "%s ID:%d: %s", Nome, playerid, text   ) ;
        SendClientMessageToAll ( -1, string ) ;
    }
    return 1;
}
Reply


Messages In This Thread
Tag no OnPlayerText - by LordShadow - 27.08.2013, 13:43
Re: Tag no OnPlayerText - by smiiir - 27.08.2013, 13:48
Re: Tag no OnPlayerText - by DanishHaq - 27.08.2013, 13:50
Re: Tag no OnPlayerText - by PT - 27.08.2013, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)