- 0
Problema /cars
-
Similar Content
-
- 1 answer
- 237 views
-
- 3 answers
- 355 views
-
- 3 replies
- 403 views
-
- 1 reply
- 353 views
-
- 1 answer
- 203 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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?:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts