[Ajuda] Variavel
#3

Quote:
Originally Posted by Ermanhaut
Посмотреть сообщение
Se eu entendi bem, vocк quer uma array cujo valor acrescente de acordo com a index.
Neste caso, o vocк quer й isso:
Код:
new vws[1000];

OnGameModeInit(){
  for(new i; i < sizeof vws; i++){
    vws[i] = i;
  }
  return 1;
}
Nгo se esquece que quando se trata de percorrer todos os нndices, falta os parкnteses.
PHP код:
new vw[1000];

public 
OnGameModeInit(){
    for(new 
0sizeof(vw); i++)
        
vw[i] = i;
    return 
true;

Reply


Messages In This Thread
Variavel - by k2bi - 28.06.2018, 02:29
Re: Variavel - by Ermanhaut - 28.06.2018, 02:42
Re: Variavel - by Cycle - 28.06.2018, 18:02
Re: Variavel - by Ermanhaut - 28.06.2018, 18:12
Re: Variavel - by F1N4L - 28.06.2018, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)