13.05.2017, 12:58
Hello what's wrong here..
Im not showing it when entering the CP's
TextDrawShowForPlayer(playerid,HouseMenu);
TextDrawShowForPlayer(playerid,HouseMenu1);
TextDrawShowForPlayer(playerid,HouseBuy);
TextDrawShowForPlayer(playerid,HouseBuy1);
Код:
HouseMenu = TextDrawCreate(7.000000, 123.000000, "~r~~g~House Menu"); TextDrawAlignment(HouseMenu, 0); TextDrawBackgroundColor(HouseMenu, 0x0000ffff); TextDrawFont(HouseMenu, 1); TextDrawLetterSize(HouseMenu, 0.299999, 0.900000); TextDrawColor(HouseMenu, 0xffff00ff); TextDrawSetOutline(HouseMenu, 1); TextDrawSetProportional(HouseMenu, 1); TextDrawSetShadow(HouseMenu, 1); HouseMenu1 = TextDrawCreate(7.000000, 136.000000, "House Menu\n\n~w~1. ~r~Enter This House ~g~(Coming Soon)\n~w~2. ~r~Renting ~g~(Coming Soon)\n~w~3. ~r~Break This house ~g~(Coming Soon)\n~w~4. ~r~Password ~g~(Coming Soon)"); TextDrawAlignment(HouseMenu1, 0); TextDrawLetterSize(HouseMenu1, 0.299999, 0.900000); TextDrawColor(HouseMenu1, 0xffff00ff); TextDrawSetOutline(HouseMenu1, 1); TextDrawSetProportional(HouseMenu1, 1); TextDrawSetShadow(HouseMenu1, 1); HouseBuy = TextDrawCreate(7.000000, 123.000000, "Do you want buy this house?"); TextDrawAlignment(HouseBuy, 0); TextDrawBackgroundColor(HouseBuy, 0xF6F600AA); TextDrawFont(HouseBuy, 1); TextDrawLetterSize(HouseBuy, 0.499999, 1.200000); TextDrawColor(HouseBuy, 0x0000ffff); TextDrawSetOutline(HouseBuy, 1); TextDrawSetProportional(HouseBuy, 1); TextDrawSetShadow(HouseBuy, 1); HouseBuy1 = TextDrawCreate(7.000000, 136.000000, "~n~~w~1. ~p~Purchase House ~r~(Soon)\n\n2. Visit House ~r~(Soon)"); TextDrawAlignment(HouseBuy1, 0); TextDrawLetterSize(HouseBuy1, 0.299999, 0.900000); TextDrawColor(HouseBuy1, 0xffff00ff); TextDrawSetOutline(HouseBuy1, 1); TextDrawSetProportional(HouseBuy1, 1); TextDrawSetShadow(HouseBuy1, 1);
TextDrawShowForPlayer(playerid,HouseMenu);
TextDrawShowForPlayer(playerid,HouseMenu1);
TextDrawShowForPlayer(playerid,HouseBuy);
TextDrawShowForPlayer(playerid,HouseBuy1);