[Ajuda] /Congelar nao congela quem ta no evento
#6

qual a dificuldade?!

PHP код:
if(strcmp(cmd"/CongelarEvento"true) == 0)
    {
         if(!
IsPlayerAdmin(playerid) || (IsOrganizadorE(playerid)) return SendClientMessage(playerid,-1,"[!] Vocк nгo й adm!");
                for(new 
0MAX_PLAYERSi++)
                    {
                        if(
IsPlayerConnected(i))
                            {
                                if (
FoiProEvento[i])
                                    {
                                        if(
JogadoresEventoCongelados == 0)
                                        {
                                             
JogadoresEventoCongelados 1;
                                             
TogglePlayerControllable(i0);
                                             
SendClientMessage(i,branco,"* [!] Vocк foi congelado");
                                            return 
1;
                                        }
                                        if(
JogadoresEventoCongelados == 1)
                                        {
                                             
JogadoresEventoCongelados 0;
                                             
TogglePlayerControllable(i1);
                                             
SendClientMessage(i,branco,"* [!] Vocк foi descongelado");
                                            return 
1;
                                        }
                                }
                        }
                }
    return 
1;

Desculpe a identaзгo.
Reply


Messages In This Thread
/Congelar nao congela quem ta no evento - by hugoal2 - 04.01.2017, 17:03
Re: /Congelar nao congela quem ta no evento - by Meck - 04.01.2017, 21:10
Re: /Congelar nao congela quem ta no evento - by didimk157 - 04.01.2017, 22:16
Re: /Congelar nao congela quem ta no evento - by AuhMaru - 05.01.2017, 09:14
Re: /Congelar nao congela quem ta no evento - by hugoal2 - 05.01.2017, 15:38
Re: /Congelar nao congela quem ta no evento - by HeisenGiromB - 05.01.2017, 17:01
Re: /Congelar nao congela quem ta no evento - by hugoal2 - 06.01.2017, 00:18

Forum Jump:


Users browsing this thread: 3 Guest(s)