error 001: expected token: "}", but found "["
#6

Quote:
Originally Posted by Tomer!.$
Посмотреть сообщение
PHP код:
enum abcd 

    
Float:a
    
b
    
c[33], 
    
d
    
e
    
f
    
g
    
h[5][20],
    
i[5];
}
new 
j[abcd]; 
not working, same error

Quote:
Originally Posted by FalconX
Посмотреть сообщение
pawn Код:
//use [MAX_PLAYERS] in it..
like this:-

pawn Код:
new j[MAX_PLAYERS][adcd];
or just visit the following link for knowing what enumeration means.

https://sampwiki.blast.hk/wiki/Keywords:Initialisers

-FalconX
no bro. i dont want to use MAX_PLAYERS in that case. i must made some mistake.. i dont want to increase the variable size by adding "MAX_PLAYERS" which is not used any way for that variable "j".
My English poor. sorry. hope someone can help me
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)