[Ajuda] Bug
#4

pawn Код:
forward AtualizarGuerra2 ( playerid ) ;
public AtualizarGuerra2 ( playerid )
{
    if(Pontos [ playerid ] == 20 )
    {
        GuerraMorro [ playerid ] = 0 ;
        SendClientMessageToAll ( 0x7A7A7AFF , "|______________________|Guerra Terminada|______________________|" ) ;
        SendClientMessageToAll (-1 , "|. : : | Guerra no morro foi finalizada" ) ;
        format ( Celula , sizeof ( Celula ) , "|. : : | Organizaзгo Vencedora: {7A7A7A}%s" , GetTeam ( playerid ) ) ;
        SendClientMessageToAll ( -1 , Celula ) ;
        SendClientMessageToAll ( -1, "|. : : | Havera outra guerra daqui a uma hora" ) ;
        TextDrawHideForPlayer ( playerid , Textdraw4 ) ;
        TextDrawHideForPlayer ( playerid , Textdraw5 ) ;
        TextDrawHideForPlayer ( playerid , Textdraw6 ) ;
        TextDrawHideForPlayer ( playerid , Textdraw7 ) ;
        TextDrawHideForPlayer ( playerid , Textdraw8 ) ;
        TextDrawHideForPlayer ( playerid , Textdraw9 ) ;
        SetTimer ( "TempoGuerra" , 60*1000*60 , false ) ;
        if ( Team [ playerid ] == Policia )
        {
            GangZoneShowForAll ( GZMorro , 0x0099FFAA ) ;
            DonoMorro = 1 ;
            GangZoneStopFlashForAll ( GZMorro ) ;
        }
        if ( Team [ playerid ] == Groove )
        {
            GangZoneShowForAll ( GZMorro , 0x00A816AA ) ;
            DonoMorro = 2 ;
            GangZoneStopFlashForAll ( GZMorro ) ;
        }
        if ( Team [ playerid ] == Ballas )
        {
            GangZoneShowForAll ( GZMorro , 0xE600CBAA ) ;
            DonoMorro = 3 ;
            GangZoneStopFlashForAll ( GZMorro ) ;
        }
        if ( Team [ playerid ] == Vagos )
        {
            GangZoneShowForAll ( GZMorro , 0xE5FF00AA ) ;
            DonoMorro = 4 ;
            GangZoneStopFlashForAll ( GZMorro ) ;
        }
        if ( Team [ playerid ] == Aztecas )
        {
            GangZoneShowForAll ( GZMorro , 0x0800FFAA ) ;
            DonoMorro = 5 ;
            GangZoneStopFlashForAll ( GZMorro ) ;
        }
        for ( new i = 0; i <= MAX_PLAYERS ; i++ )
        {
            GuerraMorro [ i ] = 0 ;
        }
    }
    return 1;
}

forward TempoGuerra ( ) ;
public TempoGuerra ( ) return Guerra = false ;
Reply


Messages In This Thread
[Ajuda] Bug - by Lipe_Stronda - 22.04.2012, 14:42
Re: [Ajuda] Bug - by RoacH` - 22.04.2012, 14:45
Re : [Ajuda] Bug - by Lipe_Stronda - 22.04.2012, 14:50
Re: [Ajuda] Bug - by RoacH` - 22.04.2012, 14:55
Re : [Ajuda] Bug - by Lipe_Stronda - 22.04.2012, 15:02
Re: [Ajuda] Bug - by RoacH` - 22.04.2012, 15:06
Re : [Ajuda] Bug - by Lipe_Stronda - 22.04.2012, 15:09
Re: [Ajuda] Bug - by RoacH` - 22.04.2012, 15:13
Re : [Ajuda] Bug - by Lipe_Stronda - 22.04.2012, 15:16
Re: [Ajuda] Bug - by RoacH` - 22.04.2012, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)