复制程式
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
实在找不出哪儿写错了...
求大大指点