Jump to content
  • 0

Problema case si bizuri: "For Sale / FFF"


Question

Posted

Problema intalnita (descriere): La case si bizuri imi apare "For SALE / FFF". Adica nu-mi apare pretul cat costa acel biz sau casa ci doar acea enumeratie de F-uri.
Ero(area / rile) / warning-(ul / urile): Nu-mi da nicio eroare / warning cand copilez !
Liniile de cod / sursa / script-ul(obligatoriu): 

Case:

Citat

for(new h = 0; h < sizeof(HouseInfo); h++)
    {
    if(HouseInfo[h][hOwned] == 0)
        {
        new string[520];
        AddStaticPickup(19470, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
        pickups++;
        format(string, sizeof(string), "{FFFFFF}For Sale!{FFFFFF}\nInfo: {FFFFFF}%s \n{FFFFFF}Cost: {8080FF}%d $ \n{FFFFFF}Level: {00BF30}%d \n{FFFFFF}Scrie {FF0000}/buyhouse",HouseInfo[h][hDiscription], HouseInfo[h][hValue], HouseInfo[h][hLevel]);
        }

Bizuri: 

Citat

for(new h = 0; h < sizeof(BizzInfo); h++)
                {
                    if(IsATruck(tmpcar) && PlayerToPoint(10.0, i, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]))
                    {
                        format(string, sizeof(string), "~w~%s~n~~r~Products Required~w~: %d~n~~y~Price per Product: ~w~: $%d~n~~g~Funds: ~w~: $%d",BizzInfo[h][bMessage],(BizzInfo[h][bMaxProducts]-BizzInfo[h][bProducts]),BizzInfo[h][bPriceProd],BizzInfo[h][bTill]);
                        GameTextForPlayer(i, string, 5000, 3);
                        return 1;


Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da, am incercat de o 1000 de ori dar tot nu-i dau de cap. Daca ati putea sa ma ajutati !

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.