- 0
Baza de date-comanda
-
Similar Content
-
- 6 answers
- 1.845 views
-
- 2 replies
- 1.437 views
-
- 9 answers
- 2.343 views
-
- 9 replies
- 7.681 views
-
- 6 answers
- 1.718 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
PolloDate
Salut.Vreau si eu sa ma ajutati cu o problema deoarece sunt incepator in crearea de comenzi.Deci eu vreau atunci cand dau /factions sa imi arate asa http://postimg.org/image/q3rjmnmg3
Dar nu stiu cum sa conectez urmatoarea comanda la fisierul ''factions'' din baza mea de date.
CMD:factions(playerid, params[]) { if(IsPlayerConnectedEx(playerid)) { new titles[512]; new File: file = fopen("Altele/factions.cfg", io_read); if(file) { new idx = 0; while (idx < sizeof(FactionsInfo)) { fread(file, titles); idx ++; format(titles, sizeof(titles), "[%d/%d] %s", FactionsInfo[idx][fOnlineMembers], FactionsInfo[idx][fMembersmax], FactionsInfo[idx][fName]); //SendClientMessage(playerid, -1, titles); ShowPlayerDialog(playerid, factionsdialog, DIALOG_STYLE_LIST, "Factions", titles, "Select", "Close"); } } } return 1; }Daca ma puteti ajuta raman indatorat
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now