Help me please :'( i'm a new guy.. i just got 1 error!! cmooonnn help meee :'( - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me please :'( i'm a new guy.. i just got 1 error!! cmooonnn help meee :'( (
/showthread.php?tid=137494)
Help me please :'( i'm a new guy.. i just got 1 error!! cmooonnn help meee :'( -
Ehab_Isaac101 - 28.03.2010
C:\Users\*******\Documents\RSCv1.3\State2State.pwn (269) : error 018: initialization data exceeds declared size
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
How to fix that Error

" C:\Users\******\Documents\Drag Race.htm(272) : error 052: multi-dimensional arrays must be fully initialized " Pleaseeeeee Tell me plz thanks
Re: Help me please :'( i'm a new guy.. i just got 1 error!! -
ScottCFR - 28.03.2010
Can i see lines:
272 & 622?
Re: Help me please :'( i'm a new guy.. i just got 1 error!! -
shady91 - 28.03.2010
look here and you will find your error, then you can fix it and learn from your mistake so it don't happen again, it's the best way to learn.
http://forum.sa-mp.com/index.php?top...7110#msg967110
Re: Help me please :'( i'm a new guy.. i just got 1 error!! -
Ehab_Isaac101 - 28.03.2010
Quote:
Originally Posted by ScottCFR
Can i see lines:
272 & 622?
|
271 new Float:racecheckpoints[MAX_RACE_POINTS][3] = {
272 {2467.8833,-1656.7375,13.2079,90.8445},
273 {1770.8481,836.1761,10.3517,85.6160},
274 {-1916.8252,-1362.3209,40.2634,160.0207}
275 };
Re: Help me please :'( i'm a new guy.. i just got 1 error!! -
Ehab_Isaac101 - 28.03.2010
Quote:
Originally Posted by Shady91
|
Yea thanks

, I'll take a look at it i hope i understand it. But i need a solution for my probelm atm from any member. but what does this means : error 018: initialization data exceeds declared size - unmatched in the array with the specified scope;;
Re: Help me please :'( i'm a new guy.. i just got 1 error!! -
ScottCFR - 28.03.2010
Quote:
Originally Posted by Ehab_Isaac101
271 new Float:racecheckpoints[MAX_RACE_POINTS][3] = {
272 {2467.8833,-1656.7375,13.2079,90.8445},
273 {1770.8481,836.1761,10.3517,85.6160},
274 {-1916.8252,-1362.3209,40.2634,160.0207}
275 };
|
pawn Код:
271 new Float:racecheckpoints[MAX_RACE_POINTS][3] = {
272 {2467.8833,-1656.7375,13.2079},
273 {1770.8481,836.1761,10.3517},
274 {-1916.8252,-1362.3209,40.2634}
275 };
You only need 3 coords for that. X,Y, and Z