複製程式
new user_chinese[33][20]
user_status[id][0] = str_to_num(cache_status[0])
user_status[id][1] = str_to_num(cache_status[1])
user_status[id][2] = str_to_num(cache_status[2])
user_status[id][3] = str_to_num(cache_status[3])
user_status[id][4] = str_to_num(cache_status[4])
user_status[id][5] = str_to_num(cache_status[5])
user_status[id][6] = str_to_num(cache_status[6])
switch(user_status[id][3])
{
case 0: user_chinese[id][0] = "突擊士兵"
case 1: user_chinese[id][0] = "重炮手"
case 2: user_chinese[id][0] = "狙擊手"
case 3: user_chinese[id][0] = "滲透者"
case 4: user_chinese[id][0] = "工程兵"
case 5: user_chinese[id][0] = "醫療兵"
case 6: user_chinese[id][0] = "獵殺者"
case 7: user_chinese[id][0] = "進化者"
case 8: user_chinese[id][0] = "異能者"
}
switch(user_status[id][4])
{
case 0: user_chinese[id][1] = "玩家"
case 1: user_chinese[id][1] = "貴賓"
case 2: user_chinese[id][1] = "OP"
case 3: user_chinese[id][1] = "副管理員"
case 4: user_chinese[id][1] = "管理員"
}
編譯時出現錯誤
must be assigned to an array
實在找不出哪兒寫錯了...
求大大指點