27.11.2012, 17:50
Hi,
Error:
Error Line:
All Code:
Error:
Код:
error 033: array must be indexed (variable "CanChooseSkill")
Код:
CanChooseSkill[playerid] =1;
Код:
else if(gTeam[playerid] >= 9) { SendClientMessage(playerid,COLOR_WHITE,"CIVILIAN INFORMATION:"); SendClientMessage(playerid,COLOR_WHITE,"Please choose a skill from the menu below."); CanChooseSkill[playerid] =1; ShowPlayerDialog(playerid,DIALOG_CLASS,DIALOG_STYLE_LIST,"Choose a Job","Rapist\r\nDrug Dealer\r\nGun Dealer\r\nHitman\r\nCar Jacker\r\nThief\r\nTerrorist","Choose","Close"); TogglePlayerControllable(playerid,0); new rnd = random(sizeof(SpawnPoints)); SetPlayerPos(playerid,SpawnPoints[rnd][0],SpawnPoints[rnd][1],SpawnPoints[rnd][2]); SetPlayerFacingAngle(playerid,SpawnPoints[rnd][3]); SetCameraBehindPlayer(playerid); }