23.06.2016, 03:27
Firstly, please can you show me the code which the errors occur on?
Secondly, take a look at this topic made by iPLEOMAX: https://sampforum.blast.hk/showthread.php?tid=318212
Basically, the first dimension is the number of rows which are in the array, and the second dimension is the number of columns there are for example, characters within the string.
In your case, you have 8 different rows, and the longest string or floats in this case has 4 characters, so your code should look like..
Secondly, take a look at this topic made by iPLEOMAX: https://sampforum.blast.hk/showthread.php?tid=318212
Basically, the first dimension is the number of rows which are in the array, and the second dimension is the number of columns there are for example, characters within the string.
In your case, you have 8 different rows, and the longest string or floats in this case has 4 characters, so your code should look like..
Код:
new Float: PizzamanCPs[8][4] = { { 2236.3997,167.3553,28.1535, 3 }, { 2363.3560,116.1356,28.4416, 3 }, { 2374.1240,42.2868,28.4416, 3 }, { 2392.2939,-54.9637,28.1536, 3 }, { 1291.9042,281.5284,19.5614, 3 }, { 1277.0186,370.8626,19.5547, 3 }, { 1352.0980,348.4374,20.5009, 3 }, { 1402.4236,286.2011,19.5547, 3 } };