#Pawno 306 Опубликовано 25 июня, 2020 Написал систему сохранения , все работает но при сохранение оружия почему то умножает на 2 оружие.Смотрел но не понял почему , кто подскажет в чем проблема , заранее благодарен. new gun_string [ 56 ], ammo_string [ 56 ]; format ( gun_string, 100, "%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d", PI [ playerid ] [ p_gun_slot ] [ 0 ], PI [ playerid ] [ p_gun_slot ] [ 1 ], PI [ playerid ] [ p_gun_slot ] [ 2 ], PI [ playerid ] [ p_gun_slot ] [ 3 ], PI [ playerid ] [ p_gun_slot ] [ 4 ], PI [ playerid ] [ p_gun_slot ] [ 5 ], PI [ playerid ] [ p_gun_slot ] [ 6 ], PI [ playerid ] [ p_gun_slot ] [ 7 ], PI [ playerid ] [ p_gun_slot ] [ 8 ], PI [ playerid ] [ p_gun_slot ] [ 9 ], PI [ playerid ] [ p_gun_slot ] [ 10 ], PI [ playerid ] [ p_gun_slot ] [ 11 ], PI [ playerid ] [ p_gun_slot ] [ 12 ] ) ; format ( ammo_string, 100, "%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d", PI [ playerid ] [ p_gun_ammo ] [ 0 ], PI [ playerid ] [ p_gun_ammo ] [ 1 ], PI [ playerid ] [ p_gun_ammo ] [ 2 ], PI [ playerid ] [ p_gun_ammo ] [ 3 ], PI [ playerid ] [ p_gun_ammo ] [ 4 ], PI [ playerid ] [ p_gun_ammo ] [ 5 ], PI [ playerid ] [ p_gun_ammo ] [ 6 ], PI [ playerid ] [ p_gun_ammo ] [ 7 ], PI [ playerid ] [ p_gun_ammo ] [ 8 ], PI [ playerid ] [ p_gun_ammo ] [ 9 ], PI [ playerid ] [ p_gun_ammo ] [ 10 ], PI [ playerid ] [ p_gun_ammo ] [ 11 ], PI [ playerid ] [ p_gun_ammo ] [ 12 ] ) ; INI_WriteString("u_guns_relog", gun_string); INI_WriteString("u_ammos_relog", ammo_string); printf("%s",gun_string); printf("%s",ammo_string); Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты