[Ajuda] Times
#5

pawn Код:
#define MAX_TIMES               25
Ao declarar um vector
pawn Код:
new TimeInfo[MAX_TIMES][tInfo];
com o MAX_TIMES quer dizer que o vector vai entre o index 0 e o 24.
pawn Код:
DOF2_SetInt(esc,"Cofre",TimeInfo[MAX_TIMES][tDinheiro]); //239
DOF2_SetInt(esc,"Nivel",TimeInfo[MAX_TIMES][tNivel]); //240
Aqui estбs a tentar aceder o index 25, que nгo existe.
Reply


Messages In This Thread
Times - by Paramount. - 26.04.2014, 04:39
Re: Times - by Dark.Angel - 26.04.2014, 07:25
Re: Times - by Fel486 - 26.04.2014, 13:10
Re: Times - by Paramount. - 26.04.2014, 13:10
Re: Times - by GWMPT - 26.04.2014, 14:03
Re: Times - by Fel486 - 26.04.2014, 14:10
Re: Times - by GWMPT - 26.04.2014, 14:29
Re: Times - by Fel486 - 26.04.2014, 14:44
Re: Times - by GWMPT - 26.04.2014, 14:48

Forum Jump:


Users browsing this thread: 2 Guest(s)