SA-MP Forums Archive
[Ajuda] sinal - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] sinal (/showthread.php?tid=638557)



sinal - PedroH - 02.08.2017

qual e o sinal de acrescentar o numera da variavel? ta assim: vInfo[i][vCombustivel] = 30;

eu queria que quando isso fosse usado novamente adicionaria + 30


Re: sinal - augustogdo - 02.08.2017

PHP код:
vInfo[i][vCombustivel] += 30



Re: sinal - PedroH - 03.08.2017

Quote:
Originally Posted by augustogdo
Посмотреть сообщение
PHP код:
vInfo[i][vCombustivel] += 30
obrigado.