error 006: must be assigned to an array
#1

I'm getting this error:
Код:
C:\Users\Aimane_Elbarjaj\Desktop\VIPv3.0\Source\VIP.pwn(1219) : error 006: must be assigned to an array
C:\Users\Aimane_Elbarjaj\Desktop\VIPv3.0\Source\VIP.pwn(1220) : error 006: must be assigned to an array
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Does anyone know how to fix it?
P.S. Its on this two lines:
Код:
	
        P_DATA[ playerid ][ Vip ]       = cache_get_field_content_int( 0, "level" );
	P_DATA[ playerid ][ p_FavSkin ] = cache_get_field_content_int( 0, "favskin" );
Reply
#2

Anyone?D:
Reply
#3

Do you use array for Vip and p_FavSkin indexes in the enum?
Reply
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Do you use array for Vip and p_FavSkin indexes in the enum?
Yes.
Reply
#5

If you want to use only 1, then you shouldn't.
Reply
#6

So what do I have to type.
Reply
#7

Remove the array on those two in the enum and it will be fine.
Reply
#8

Nevermind fixed
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)