25.08.2017, 15:37
Aun continua lanzando el mismo error.
Код:
[10:29:38] *** CreateDynamicObject: Expecting 11 parameter(s), but found 14 [10:29:38] *** CreateDynamic3DTextLabel: Expecting 13 parameter(s), but found 15 [10:29:38] *** CreateDynamicObject: Expecting 11 parameter(s), but found 14 [10:29:38] *** CreateDynamic3DTextLabel: Expecting 13 parameter(s), but found 15 [10:29:38] *** CreateDynamicObject: Expecting 11 parameter(s), but found 14 [10:29:38] *** CreateDynamic3DTextLabel: Expecting 13 parameter(s), but found 15 [10:29:38] *** CreateDynamicObject: Expecting 11 parameter(s), but found 14 [10:29:38] *** CreateDynamic3DTextLabel: Expecting 13 parameter(s), but found 15
Код:
stock CargarQuioscos() { new Archivo[128], string[256], mStr[60]; for(new i = 0; i < QUIOSCOSHD_MAX; i++) { format(Archivo, sizeof(Archivo), DIR_HOTDOG, i); if(dini_Exists(Archivo)) { HotDogInfo[i][IDObjetoHD] = dini_Int(Archivo, "IDObjetoHD"); for(new m = 0; m < 4; m++) { format(mStr,sizeof(mStr), "HotDogPos%d", m); HotDogInfo[i][PosicionHotdog][m] = dini_Float(Archivo, mStr); }//Aqui abajo presenta los errores. HotDogInfo[i][IDObjetoHD] = CreateDynamicObject(ID_QUIOSCO_OB, HotDogInfo[i][PosicionHotdog][0], HotDogInfo[i][PosicionHotdog][1], (HotDogInfo[i][PosicionHotdog][2]+0.2), 0, 0, (HotDogInfo[i][PosicionHotdog][3]+90)); AumentarQuiosco(); format(string, sizeof(string), LABEL_INFORMACION, i); QuioscoLabel[i] = CreateDynamic3DTextLabel(string, C_GRIS, HotDogInfo[i][PosicionHotdog][0], HotDogInfo[i][PosicionHotdog][1], HotDogInfo[i][PosicionHotdog][2]+0.5,10.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,0,0,-1,-1, 100.0); } } return 1; }