- 0
Войдите для возможности подписаться
Подписчики
0

Нужна помощь по сохранению оружия.
Вопрос от
Storm97
,
-
Последние посетители 0 пользователей онлайн
Ни одного зарегистрированного пользователя не просматривает данную страницу
-
Похожий контент
-
От Altronix
Вчера столнулся с такой проблемой, что делать если я прописал в моде 615 айдишник машины, 614 и 613 работают, а вот на 615 крашает игру и не спавнит тачку? Хотя все текстуры вставил в vehicleid.pwn, vehicleid.ide всё прописал, другие 614 и 613 он создаёт, а 615 команда ещё не создавала до того как я заменил текстуры в тачке. Может где то ещё надо прописать что бы все работало? Лимит у меня увеличен до 700
-
Опубликовано · Жалоба
Написал систему сохранения , все работает но при сохранение оружия почему то умножает на 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);
Поделиться сообщением
Ссылка на сообщение