10.11.2012, 17:54
Hello
I have a problem.
I want to use variables like this:
PlayerInfo[playerid][ContactName][0] = "Test";
PlayerInfo[playerid][ContactNumber][0] = 5456;
Error:
C:\Users\...\Desktop\samp03e_svr_R2_win32\gamemode s\...(386) : error 001: expected token: "}", but found "["
C:\Users\...\Desktop\samp03e_svr_R2_win32\gamemode s\...(387) : error 010: invalid function or declaration
So how can i resolve this problem?
I have a problem.
I want to use variables like this:
PlayerInfo[playerid][ContactName][0] = "Test";
PlayerInfo[playerid][ContactNumber][0] = 5456;
Code:
enum pInfo { ContactNumber[15], // 15 int variables made ContactName[30][15], // 15 string variables, but.. i get error(This is line 386) }; [//Line 387 new PlayerInfo[50][pInfo];
C:\Users\...\Desktop\samp03e_svr_R2_win32\gamemode s\...(386) : error 001: expected token: "}", but found "["
C:\Users\...\Desktop\samp03e_svr_R2_win32\gamemode s\...(387) : error 010: invalid function or declaration
So how can i resolve this problem?