Error 17: undefined symbol [EASY +REP]
#1

So these are the error codes
PHP код:
C:\Users\zero\Downloads\samp037_svr_R1_win32 (1)aa\gamemodes\FAKE.pwn(96) : error 017undefined symbol "pStats"
C:\Users\zero\Downloads\samp037_svr_R1_win32 (1)aa\gamemodes\FAKE.pwn(96) : warning 215expression has no effect
C
:\Users\zero\Downloads\samp037_svr_R1_win32 (1)aa\gamemodes\FAKE.pwn(96) : error 001expected token";"but found "]"
C:\Users\zero\Downloads\samp037_svr_R1_win32 (1)aa\gamemodes\FAKE.pwn(96) : error 029invalid expressionassumed zero
C
:\Users\zero\Downloads\samp037_svr_R1_win32 (1)aa\gamemodes\FAKE.pwn(96) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

And here are the lines

PHP код:
forward AccountRegister(playerid);
public 
AccountRegister(playerid)
{
    
pStats[playerid][Admin] = cache_get_field_content_int(0"Admin");
    
pStats[playerid][VIP] = cache_get_field_content_int(0"VIP");
    
pStats[playerid][Money] = cache_get_field_content_int(0"Money");
    
pStats[playerid][ID] = cache_get_field_content_int(0"ID");
    
pStats[playerid][Bank] = cache_get_field_content_int(0"Bank");
    return 
1;

and here is the enum definition

PHP код:
enum pp
{
    
Name,
    
Password,
    
Admin,
    
ID,
    
Money,
    
Bank,
    
SCoins
}
new 
pStats[MAX_PLAYERS][pp]; 
Reply


Messages In This Thread
Error 17: undefined symbol [EASY +REP] - by MarcGonzales - 09.07.2015, 12:22
Re: Error 17: undefined symbol [EASY +REP] - by kyriakos587 - 09.07.2015, 12:24
Re: Error 17: undefined symbol [EASY +REP] - by TonyVk - 09.07.2015, 12:27
Re: Error 17: undefined symbol [EASY +REP] - by MarcGonzales - 09.07.2015, 12:37
Re: Error 17: undefined symbol [EASY +REP] - by TonyVk - 09.07.2015, 12:39
Re: Error 17: undefined symbol [EASY +REP] - by MarcGonzales - 09.07.2015, 12:51
Re: Error 17: undefined symbol [EASY +REP] - by TonyVk - 09.07.2015, 12:57

Forum Jump:


Users browsing this thread: 1 Guest(s)