Textdraw shop
#6

pawn Код:
if(gTeam[playerid] != TEAM_GUNDEL)
    {
    TextDrawSetString(TextDraw4,string);
    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]);
    }
You have TextDrawSetString before you formatted variable "string"

You need to format first
And then set the string

Then replace those lines
With these

pawn Код:
if(gTeam[playerid] != TEAM_GUNDEL)
    {
    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]);
TextDrawSetString(TextDraw4,string);
    }
Reply


Messages In This Thread
Textdraw shop - by Admigo - 17.05.2011, 08:53
Re: Textdraw shop - by Elka_Blazer - 17.05.2011, 08:56
Re: Textdraw shop - by Admigo - 17.05.2011, 08:59
Re: Textdraw shop - by Elka_Blazer - 17.05.2011, 09:04
Re: Textdraw shop - by Admigo - 17.05.2011, 09:06
Re: Textdraw shop - by Elka_Blazer - 17.05.2011, 09:11
Re: Textdraw shop - by Admigo - 17.05.2011, 09:21
Re: Textdraw shop - by Admigo - 17.05.2011, 09:25
Re: Textdraw shop - by Elka_Blazer - 17.05.2011, 09:35
Re: Textdraw shop - by Admigo - 17.05.2011, 09:41

Forum Jump:


Users browsing this thread: 1 Guest(s)