Give array value for an array
#1

Hi.

I would like to give an array value for an array.
Its work with integer, but with float, not.

E.g:
Код:
#include <a_samp>

new test[20][20][2];

public OnGameModeInit()
{
	test[0][0] = {12, 51};
	return 1;
}
But with Float no, why?
Код:
\debug.pwn(7) : warning 213: tag mismatch
Код:
#include <a_samp>

new Float:test[20][20][2];

public OnGameModeInit()
{
	test[0][0] = {12.25, 51.69};
	return 1;
}
Thanx for the help
Reply


Messages In This Thread
Give array value for an array - by godknightx - 07.10.2010, 08:09
Re: Give array value for an array - by Rachael - 07.10.2010, 08:39
Re: Give array value for an array - by godknightx - 07.10.2010, 09:03
Re: Give array value for an array - by Rachael - 07.10.2010, 09:30

Forum Jump:


Users browsing this thread: 1 Guest(s)