17.05.2011, 09:25
Ooh wait it works ty! But i have 10 slots of weapons in the shop but how i change all slots.
look:
Because if i do this:
The line is to big.
look:
Код:
format(string,sizeof(string),"~n~~n~~n~~n~ ~n~~y~ 1 ~w~- Weapon1 $%d~n~~y~ 2 ~w~- Weapon2 $%d~n~~y~ 3 ~w~- Weapon3 $%d~n~~y~ 4 ~w~- Weapon4 $%d~n~~y~ 5 ~w~- Weapon5 $%d~n~~y~ 6 ~w~- Weapon6 $%d~n~~y~ 7 ~w~- Weapon7 $%d~n~~y~ 8 ~w~- Weapon8 $%d~n~~y~ 9 ~w~- Weapon9 $%d~n~~y~ 10 ~w~- Weapon10 $%d~n~",SkillPrice[playerid]
Код:
format(string,sizeof(string),"~n~~n~~n~~n~ ~n~~y~ 1 ~w~- Weapon1 $%d~n~~y~ 2 ~w~- Weapon2 $%d~n~~y~ 3 ~w~- Weapon3 $%d~n~~y~ 4 ~w~- Weapon4 $%d~n~~y~ 5 ~w~- Weapon5 $%d~n~~y~ 6 ~w~- Weapon6 $%d~n~~y~ 7 ~w~- Weapon7 $%d~n~~y~ 8 ~w~- Weapon8 $%d~n~~y~ 9 ~w~- Weapon9 $%d~n~~y~ 10 ~w~- Weapon10 $%d~n~",SkillPrice[playerid],SkillPrice[playerid],SkillPrice[playerid],SkillPrice[playerid],SkillPrice[playerid],SkillPrice[playerid],,SkillPrice[playerid],SkillPrice[playerid],SkillPrice[playerid],SkillPrice[playerid]