[SOLVED]Race Checkpoints
#1

i cant figure this problem out i made the race script
heres the error C:\Users\GM\Desktop\SERVER SAMP\Server!\gamemodes\racetest.pwn(119) : error 018: initialization data exceeds declared size

but

heres my code at top

Код:
{2026.3176,-2493.4050,13.2461},
{1863.5793,-2498.1604,13.2605},
{1704.2090,-2491.2549,13.2606},
{1525.8025,-2491.1589,13.2606},
{1331.8302,-2493.2686,13.0820},
{1338.2534,-2622.2195,13.1447},
{1662.1642,-2682.7002,5.5731},
{1869.9342,-2684.6753,5.5731},
{1993.4445,-2685.3220,9.1886},
{2173.8313,-2580.0112,13.0810},
{2254.1023,-2319.0146,13.0809},
{2374.3040,-2205.0930,13.0811},
{2519.6973,-2171.4551,13.0805},
{2728.8577,-2168.0952,10.6356},
{2861.2590,-1987.3585,10.6400},
{2846.1865,-1839.9792,10.6869},
{2876.4053,-1666.9448,10.5887},
{2875.7119,-1512.3743,10.7525},
{2855.4404,-1270.2655,20.2682},
{2838.4546,-1035.4365,22.8204},
{2844.4958,-868.6708,10.5238}
);
Reply
#2

any help?:L
Reply
#3

i asume you initialized the array for the checkpoints in a too small array, like
Код:
new RCP[20][3];
...so the 21st checkpoints cant fit into that array. simply raise the size of it, it wont hurt if it wastes some bytes only:
Код:
new RCP[100][3];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)