Not Defined when it is?
#1

Hey, I am using NGG's crime system (not script) and there crime system is pCrime this is the error I get

pawn Код:
error 017: undefined symbol "pCrime"
Also these errors but I think it will fix if I fix that one ^

pawn Код:
error 029: invalid expression, assumed zero
error 010: invalid function or declaration
Ok so heres the place where them errors are popping up

pawn Код:
enum pCrime
{
    pBplayer[32],
    pAccusing[32],
    pAccusedof[32],
    pVictim[32],
};

new PlayerCrime[pCrime][MAX_PLAYERS];
Any help?
Reply
#2

Ahmm if i am not wrong try new pCrime[MAX_PLAYERS];
Reply
#3

Код:
enum pCrime
{
    pBplayer[32],
    pAccusing[32],
    pAccusedof[32],
    pVictim[32]
};
new PlayerCrime[MAX_PLAYERS][pCrime];
What are you trying to save in these 32 sized arrays?
32 * 4 *4 * MAX_PLAYERS much memory.
Reply
#4

Fixed that both ya help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)