-
Similar Content
-
- 2 answers
- 678 views
-
Am o problema cu un battlepass,de ce nu merge comanda /misiuni cand o scriu,tin sa precizez ca script-ul mi l-a facut chatgpt
By cbnmihaita,
- 2 answers
- 424 views
-
- 3 replies
- 564 views
-
Comanda /spec
By VAurel,
- 4 answers
- 777 views
-
- 3 replies
- 659 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Edduard
Problema intalnita (descriere):Problema care o am eu nu este una grava dar , din cate am incercat eu sa schimb nu mi-a iesit, ea este la comanda /factions vreau sa arate asa ex:[15/50]Los Santos police departament am incercat sa inlocuiesc %s\n%s [%d/%d] adica sa fie asa [%d/%d] %s\n%s si nu a mers dupa am incercat sa schimb szMessage, groupVariables[xf][gGroupName], members, groupVariables[xf][gSlots]); si le-am facut asa members, groupVariables[xf][gSlots] ,szMessage, groupVariables[xf][gGroupName] , tot nu a mers
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:factions(playerid, params[])
{
new members;
format(szMessage, sizeof(szMessage), "Factions:");
for(new xf = 0; xf < MAX_GROUPS; xf++)
{
if(strlen(groupVariables[xf][gGroupName]) >= 1 && strcmp(groupVariables[xf][gGroupName], "None", true))
{
new stringy2[256];
mysql_format(handle, stringy2, 256, "SELECT * FROM `playeraccounts` WHERE `playerGroup` = '%d'", xf);
new Cache: resultx = mysql_query (handle, stringy2);
members = cache_get_row_count();
cache_delete(resultx);
format(szMessage, sizeof(szMessage),"%s\n%s [%d/%d]", szMessage, groupVariables[xf][gGroupName], members, groupVariables[xf][gSlots]);
}
}
ShowPlayerDialog(playerid, 4500, DIALOG_STYLE_LIST,"Server: Factions", szMessage, "Select", "Cancel");
SelFaction[playerid] = 0;
return 1;
}
Imagini / Video (optional):
Ati incercat sa rezolvati singur?:
SKIPE : EDUARD.SENNOW
3 answers to this question
Recommended Posts