SA-MP Forums Archive
Help with this error! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with this error! (/showthread.php?tid=489341)



Help with this error! - Engine_Cleo - 22.01.2014

Hello, is that I get this error I hope you can help me

Online ( 15919 ): warning 203 : symbol is never used : " surprise"

I do not know if this error is related to this down here because of surprise when I switch to any other name I get the same error but with the name :


new Float : surprise [57 ] [3 ] = { / / random pickups positions
{ 1561.18 , -1473.44 , 13.54 } ,
{ 1711.64 , -1573.40 , 13.95 } ,
{ 1721.82 , -1654.47 , 20.96 } ,
{ 483.33 , -1.53 ​​, 1002.07 } ,
{ 1941.45 , -1776.51 , 13.64 } ,
{ 1796.45 , -1804.47 , 5.01 } ,
{ 1929.98 , -1890.31 , 15.03 } ,
{ 1990.81 , -2014.47 , 13.05 } ,
{ 2027.33 , -2093.44 , 15.58 } ,
{ 2112.05 , -1992.19 , 13.25 } ,
{ 2371.75 , -2135.15 , 27.17 } ,
{ 2495.97 , -2072.27 , 13.06 } ,
{ 2643.94 , -2093.90 , 13.06 } ,
{ 2857.58 , -2216.30 , 0.91 } ,
{ 2786.19 , -1423.48 , 15.76 } ,
{ 2819.80 , -1425.82 , 39.57 } ,
{ 2847.90 , -1302.34 , 15.67 } ,
{ 2766.71 , -1191.91 , 69.40 } ,
{ 2750.32 , -1202.13 , 72.47 } ,
{ 2667.05 , -1216.78 , 68.43 } ,
{ 2435.88 , -1321.18 , 24.27 } ,
{ 2467.31 , -1413.35 , 23.26 } ,
{ 2298.07 , -1412.35 , 20.42 } ,
{ 2255.06 , -1457.29 , 24.00 } ,
{ 2065.38 , -1394.48 , 23.93 } ,
{ 1757.45 , -1350.17 , 15.60 } ,
{ 1677.29 , -1460.22 , 13.55 } ,
{ 1480.24 , -1639.75 , 14.14 } ,
{ 1497.68 , -1665.28 , 34.04 } ,
{ 1539.03 , -1850.15 , 13.54 } ,
{ 1421.27 , -1849.18 , 13.96 } ,
{ 1337.97 , -1816.24 , 13.54 } ,
{ 1117.56 , -2037.22 , 78.75 } ,
{ 953.77 , -1823.73 , 13.31 } ,
{ 870.80 , -1835.30 , 10.48 } ,
{ 830.62 , -1890.74 , 5.83 } ,
{ 673.99 , -1867.22 , 5.46 } ,
{ 498.50 , -1874.76 , 4.67 } ,
{ 528.27 , -1815.19 , 9.28 } ,
{ 386.86 , -1831.41 , 9.38 } ,
{ 406.26 , -2066.01 , 7.35 } ,
{ 285.79 , -1619.21 , 32.52 } ,
{ 291.43 , -1503.46 , 24.43 } ,
{ 422.49 , -1299.33 , 14.56 } ,
{ 441.70 , -1357.09 , 14.33 } ,
{ 136.03 , -1501.29 , 18.27 } ,
{ -384.21 , -1041.49 , 58.37 } ,
{ -393.90 , -1148.77 , 68.91 } ,
{ -810.67 , -1293.64 , 79.40 } ,
{ -1113.04 , -1637.21 , 75.87 } ,
{ -1095.01 , -1664.20 , 76.36 } ,
{ 2158.90 , -101.27 , 2.75 } ,
{ 2252.02 , 60.65 , 29.48 } ,
{ 2324.90 , 59.09 , 26.48 } ,
{ 2321.96 , -3.97 , 26.48 } ,
{ 2323.97 , -3.87 , 26.55 } ,
{ 2560.04 , 72.00 , 26.47 }
} ;


EXAMPLE: new Float : ugly error [ 57] [ 3] = { / / random pickups positions

Online ( 15919 ): warning 203 : symbol is never used : "ugly error"


Re: Help with this error! - PowerPC603 - 22.01.2014

It just means that your entire array is created, but never used.
Either delete it, comment it, or make some function that uses it.
No need to keep an array with lots of data and not using it.