[Ajuda] Nгo define
#4

Quote:
Originally Posted by lekinho911
Посмотреть сообщение
Mas se for igual a 0 qualquer 1 vai conseguir ou nгo ? e tipow se eu quisesse para mais de 2 ?
pawn Код:
if(PlayerInfo[playerid][pBOPE] == 0 && PlayerInfo[playerid][pPM] == 0)
No caso, ele vai verificar se o jogador NГO faz parte de nenhuma das "Organizaзхes", caso queria adicionar mais apenas use:
pawn Код:
if(PlayerInfo[playerid][pBOPE] == 0 && PlayerInfo[playerid][pPM] == 0 && ORG3 == 0)
Substituindo o ORG3 pela sua variбvel da Organizaзгo.
Enfim, recomendo que estude Estruturas Condicionais e Operadores.
Reply


Messages In This Thread
Nгo define - by lekinho911 - 23.10.2013, 15:30
Re: Nгo define - by Dolby - 23.10.2013, 15:40
Re: Nгo define - by lekinho911 - 23.10.2013, 16:39
Re: Nгo define - by Dolby - 23.10.2013, 16:45
Re: Nгo define - by lekinho911 - 23.10.2013, 17:22
Re: Nгo define - by focaximubh - 23.10.2013, 17:28
Re: Nгo define - by lekinho911 - 23.10.2013, 17:45

Forum Jump:


Users browsing this thread: 2 Guest(s)