Dialog getting error after substitution
#2

PHP код:
                    new dialoglist[700], test[128]; 
                
strcat(dialoglist"Arma\tBalas\tSlot\n");
                
format(test128"%s\t%d\t1\n",weaponName1,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo1]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t2\n",weaponName2,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo2]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t3\n",weaponName3,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo3]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t4\n",weaponName4,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo4]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t5\n",weaponName5,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo5]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t6\n",weaponName6,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo6]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t7\n",weaponName7,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo7]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t8\n",weaponName8,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo8]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t9\n",weaponName9,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo9]);
                
strcat(dialoglisttest);
                
format(test128"%s\t%d\t10\n",weaponName10,DynamicCarsWeapons[GetPlayerVehicleID(playerid) -1][cAmmo10]);
                
strcat(dialoglisttest);
                
ShowPlayerDialog(playeridverarmascarroDIALOG_STYLE_TABLIST_HEADERSdialoglist"Selecionar","Cancelar"); 
Reply


Messages In This Thread
Dialog getting error after substitution - by GunZsmd - 11.08.2016, 16:29
Re: Dialog getting error after substitution - by Luicy. - 11.08.2016, 16:42
Re: Dialog getting error after substitution - by Shinja - 11.08.2016, 16:45
Re: Dialog getting error after substitution - by GunZsmd - 11.08.2016, 16:46
Re: Dialog getting error after substitution - by Luicy. - 11.08.2016, 16:48
Re: Dialog getting error after substitution - by GunZsmd - 11.08.2016, 16:49
Re: Dialog getting error after substitution - by Luicy. - 11.08.2016, 16:50
Re: Dialog getting error after substitution - by GunZsmd - 11.08.2016, 16:59
Re: Dialog getting error after substitution - by GunZsmd - 11.08.2016, 17:17
Re: Dialog getting error after substitution - by Luicy. - 11.08.2016, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)