17.05.2011, 08:53
Hee all.
I made a shop with textdraw. If i setprice off shop nothing happens but if i do showshop it let see the shop but the prices dont change.
Pls help.
Thanks admigo
I made a shop with textdraw. If i setprice off shop nothing happens but if i do showshop it let see the shop but the prices dont change.
Код:
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]); } if(price > 50000 || price < 2000) { SendClientMessage(playerid,COLOR_RED,"Please enter an amount between $2000 and $50000."); return 1; } SkillPrice[playerid] =price; SendClientMessage(playerid,COLOR_DEADCONNECT,"[[_Service Price Set_]]"); format(string,sizeof(string),"You have set your services price to $%d.",SkillPrice[playerid]); SendClientMessage(playerid,COLOR_LIGHTBLUE,string); return 1; }
Thanks admigo