- 0
Problema /cars
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
marius11
Problema intalnita (descriere):Am si eu o problema la comanda cars, primele 2 sloturi sunt gratis iar cele 2 trebuie sa ai cont premium cum fac ca sloturile sa apara doar dupa ce cumpara cineva cont premium, in prezent apar toate
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:cars(playerid, params[])
{
new param4[32],param69[32],param59[32],param70[32];
if(playerVariables[playerid][pCarModel1] >= 400)
{
format(param4, sizeof(param4), "%s [ID:%d]", VehicleNames[playerVariables[playerid][pCarModel1] - 400], playerVariables[playerid][pCarID1]);
}
else
{
param4 = "[Disponibil]";
}
if(playerVariables[playerid][pCarModel2] >= 400)
{
format(param69, sizeof(param4), "%s [ID:%d]", VehicleNames[playerVariables[playerid][pCarModel2] - 400], playerVariables[playerid][pCarID2]);
}
else
{
param69 = "[Disponibil]";
}
if(playerVariables[playerid][pCarModel3] >= 400)
{
format(param59, sizeof(param59), "%s [ID:%d]", VehicleNames[playerVariables[playerid][pCarModel3] - 400], playerVariables[playerid][pCarID3]);
}
else
{
param59 = "[Disponibil]";
}
if(playerVariables[playerid][pCarModel4] >= 400)
{
format(param70, sizeof(param70), "%s [ID:%d]", VehicleNames[playerVariables[playerid][pCarModel4] - 400], playerVariables[playerid][pCarID4]);
}
else
{
param70 = "[Disponibil]";
}
format(szMessage, sizeof(szMessage), "%s\n%s\n%s\n%s",param4,param69,param59,param70);
ShowPlayerDialog(playerid, 15524, DIALOG_STYLE_LIST, "Masinile Personale", szMessage, "Select", "Cancel");
return 1;
}
Imagini / Video (optional):
Ati incercat sa rezolvati singur?:
2 answers to this question
Recommended Posts