"array must be indexed" error.
#3

You dont need to write [MAX_PLAYERS] after MB.
Try this:
Код:
new MB;
MB = CreateObject(1550, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(MB[playerid], playerid, -0.027000, -0.251999, 0.000000, 1.000000, 1.000000, 1.000000);
Or this:

Код:
new MB;
MB = CreateObject(1550, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(MB, playerid, -0.027000, -0.251999, 0.000000, 1.000000, 1.000000, 1.000000);
Reply


Messages In This Thread
"array must be indexed" error. - by Moudix - 09.07.2015, 12:53
Re: "array must be indexed" error. - by Kqly - 09.07.2015, 12:54
Re: "array must be indexed" error. - by Mouiz - 09.07.2015, 12:55
Re: "array must be indexed" error. - by Moudix - 09.07.2015, 13:17
Re: "array must be indexed" error. - by Threshold - 09.07.2015, 13:37
Re: "array must be indexed" error. - by Moudix - 09.07.2015, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)