[Ajuda] Mostrar quando Admin e Vip entran no server alguem sabe
#5

PHP код:
public OnPlayerConnect(playerid)
{
    new 
Str128 ] , NomeMAX_PLAYER_NAME ] ;
    
GetPlayerName(playerid Nome sizeofNome ) ) ;
    if( 
PlayerInfoplayerid ][ pAdmin ] >= ) {
    
formatStr sizeofStr ) , "[Admin] (%d) %s entrou no servidor." playeridNome ) ;
    
SendClientMessageToAll( -Str ) ; }
    if( 
PlayerInfoplayerid ][ pVIP ] >= ) {
    
formatStr sizeofStr ) , "[VIP] (%d) %s entrou no servidor." playeridNome ) ;
    
SendClientMessageToAll( -Str ) ; }
    return 
1;

Nгo sei qual й a variбvel do seu servidor, mas caso for God Fhater, com certeza й estб mesmo.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)