Jump to content
  • 0

problema dealership


InceMan

Question

salut, am incercat sa adaug la dealership masini de cont premium si masinile de cont premium imi aparea dar restul masinilor nu imi mai apar acum am scos aia cu cont premium si nu imi mai apar masinile personale chear daca am scos selectia de cont premium

 

 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

  • 0

Nu am inteles, ce nu iti merge? Nu iti merge cand apesi pe o optiune din acel dialog? Lasa-ne si noua comanda cu care deschizi dialogul si apoi dialogid-urile care au legatura cu sistemul de dealership (de la OnDialogResponse).

Link to comment
Share on other sites

  • 0
Acum 6 ore, Krusher a spus:

Nu am inteles, ce nu iti merge? Nu iti merge cand apesi pe o optiune din acel dialog? Lasa-ne si noua comanda cu care deschizi dialogul si apoi dialogid-urile care au legatura cu sistemul de dealership (de la OnDialogResponse).

http://pastebin.com/GkXxzuJb

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

deci am incercat sa adaug la /buycar inca o categorie de masini personale si dupa ce am facut uploade doar masinile cont premium imi aparea in ds restul masinilor nu imi mai apar 

 

CMD:buycar(playerid, params[])
{
    if(LogatPin[playerid] == 0) return SCM(playerid, -1, "Contul tau este {ff0000}blocat{ffffff}, foloseste {ff0000}/pin{ffffff} pentru a-l debloca");
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
    if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid,COLOR_WHITE,"{FFB870}Please get out of the car.");
    if(IsPlayerInRangeOfPoint(playerid, 7.0, 1300.3134,-1438.1810,13.5919))
    {
        if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}You need to be level 3 to buy a vehicle.");
        BuyCar[playerid] = -1;
        ShowPlayerDialog(playerid,DIALOG_CARBUY, DIALOG_STYLE_LIST, "Buy a car", "Cheap cars\nRegular cars\nExpensive cars", "Select", "Close");
    }
    else return SCM(playerid,COLOR_WHITE,"{FFB870}You are not the place where you can buy a car.");
      return 1;
}

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

 

Am pus cu-m  ai spus tu si nu imi da nimic in log mie nu imi apare stock la comanda /buycar

Edited by Geani

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

Iti intra in acele verificari, cum ar fi

if(Stock[xf][vType] == 1)
{
	format(stringy, sizeof(stringy), "{ffffff}%s ( %d{33cc33}${ffffff} ) ( {00FFFF}%d {ffffff}cars in stock)\n", Stock[xf][vName], Stock[xf][vPrice], Stock[xf][vStock]);
	strcat(stringzz,stringy);
}

 

Link to comment
Share on other sites

  • 0
Chiar acum, WopsS a spus:

Iti intra in acele verificari, cum ar fi


if(Stock[xf][vType] == 1)
{
	format(stringy, sizeof(stringy), "{ffffff}%s ( %d{33cc33}${ffffff} ) ( {00FFFF}%d {ffffff}cars in stock)\n", Stock[xf][vName], Stock[xf][vPrice], Stock[xf][vStock]);
	strcat(stringzz,stringy);
}

 

nu imi arata nimic pur si simplu imi dispare dialogul

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
La 11.02.2017 la 21:17, BuNiCu-RP a spus:

Problema o ai de la acest 


for(new xf = 0; xf < MAX_PERSONAL_CARS; xf++)

Verifica numarul maxim la MAX_PERSONAL_CARS;

 

am verificat si aia in pawno am #define MAX_PERSONAL_CARS (101) si in sql la stock am tot 101

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

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.