[AJUDA]Gettime
#10

Quote:
Originally Posted by RoacH`
Посмотреть сообщение
pawn Код:
return MinhAvariavel ? true : false;
"Minhavariavel ? true" caso nгo for true. ": false;" retornarб false ? й isso se sim jб peguei ^^

pawn Код:
IsPlayerAdmin(playerid) ? true : (SendClientMessage(playerid, -1, "Vocк foi Kickado"), Kick(playerid), true);
Caso for "IsPlayerAdmin for igual a true me retornarб nulo(0 ou false), se for difrente de true me kickarб й isso ?
Correto!

pawn Код:
new bool:Var = true;
format(string, sizeof(string), "Var: %s", (Var)?("True"):("False"));//Var: True

Var = false;
format(string, sizeof(string), "Var: %s", (Var)?("True"):("False")); // Var: False
Reply


Messages In This Thread
[AJUDA]Gettime - by [BND]Rodrigues - 04.05.2012, 06:55
Respuesta: [AJUDA]Gettime - by Schocc - 04.05.2012, 07:05
Re: [AJUDA]Gettime - by RoacH` - 04.05.2012, 10:03
Re: [AJUDA]Gettime - by paulor - 04.05.2012, 14:36
Re: [AJUDA]Gettime - by RoacH` - 04.05.2012, 14:41
Re: [AJUDA]Gettime - by CidadeNovaRP - 04.05.2012, 14:51
Re: [AJUDA]Gettime - by paulor - 04.05.2012, 14:59
Re: [AJUDA]Gettime - by RoacH` - 04.05.2012, 15:14
Re: [AJUDA]Gettime - by [BND]Rodrigues - 04.05.2012, 15:25
Re: [AJUDA]Gettime - by paulor - 04.05.2012, 16:05

Forum Jump:


Users browsing this thread: 3 Guest(s)