[Ajuda] ERRO
#4

Quote:
Originally Posted by FerrariL
Посмотреть сообщение
Ermanhaut,eu acho que pode usar um if dentro de else sim.
Й que o fluxo fica estranho... Mas ainda da pra usar sim, й que no caso dele nгo era necessбrio usar aquele if() e o erro nem era isso, era sу tirar o { antes do else.

Код:
if(true){
    //bla bla bla...
}
else{//Isto executa se a condiзгo acima nгo for verdadeira
    
    if(playerAdmin[playerid] == false) { return Kick(playerid); }
    SendClientMessage(playerid, -1, "Vocк nгo pode fazer isto");
}
Reply


Messages In This Thread
ERRO - by k2bi - 19.01.2018, 21:54
Re: ERRO - by Ermanhaut - 19.01.2018, 22:10
Re: ERRO - by FerrariL - 20.01.2018, 01:54
Re: ERRO - by Ermanhaut - 20.01.2018, 02:36
Re: ERRO - by zMorningStar - 20.01.2018, 02:47
Re: ERRO - by Don_Speed - 20.01.2018, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)