[Help] 2 Errors.. please help :)
#1

Hi, ima new coder.. and when i was changing player spawn locations.. i got this..

C:\Users\Marc\Desktop\Samp Server\gamemodes\cdmaf.pwn(34) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\Marc\Desktop\Samp Server\gamemodes\cdmaf.pwn(3 : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


What am i doing wrong?


Here is script:

new Float:gRandomPlayerSpawns[23][3] = {
{1958.3783,1343.1572,15.3746}
};

new Float:gCopPlayerSpawns[2][3] = {
{2297.1064,2452.0115,10.8203}
};
Reply
#2

Maybe post some script, preferably the lines where you declare the array, and the lines the errors are on (34 - 3
Reply
#3

Ok did
Reply
#4

Quote:

new Float:gRandomPlayerSpawns[23][3] = {
{1958.3783,1343.1572,15.3746}
};

new Float:gCopPlayerSpawns[2][3] = {
{2297.1064,2452.0115,10.8203}
};

Код:
new Float:gRandomPlayerSpawns[1][3] = {
{1958.3783,1343.1572,15.3746}
};

new Float:gCopPlayerSpawns[1][3] = {
{2297.1064,2452.0115,10.8203}
};
-.-
Reply
#5

lmao thanks pala, told u i was new scripter
Reply
#6

No prob did you see what I did?
Reply
#7

yeah, changed the numbers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)