Error 018
#1

Alright, So I'm scripting in some random spawns, and I put this in at the top:
Код:
new Float:RandomSpawns[4][3] = {
{1709.5316,-1642.7290,20.2188,227.1651},
{1712.5449,-1673.5756,20.2247,342.3868},
{1733.7821,-1644.2037,23.7469,128.4407},
{1727.8513,-1669.7484,27.1953,24.4758},
{1718.1951,-1640.6145,27.2044,195.1813}};
But when I compile, I'm getting this error:
Код:
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\SAMP\gamemodes\Freeroam.pwn(39) : error 018: initialization data exceeds declared size
Can anyone help me? Been stuck on this.
Reply
#2

pawn Код:
new Float:RandomSpawns[][6] =
{
  {1709.5316,-1642.7290,20.2188,227.1651},
  {1712.5449,-1673.5756,20.2247,342.3868},
  {1733.7821,-1644.2037,23.7469,128.4407},
  {1727.8513,-1669.7484,27.1953,24.4758},
  {1718.1951,-1640.6145,27.2044,195.1813}
};
Reply
#3

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)